• R/O
  • HTTP
  • SSH
  • HTTPS

howm: Commit

Hitori Otegaru Wiki Modoki


Commit MetaInfo

Revision21e580b580fdabc5f914ebc563b1998a2dd9ddd3 (tree)
Time2020-12-31 19:08:35
AuthorHiraoka <khi@user...>
CommiterHiraoka

Log Message

fix warning on font-lock-fontify-buffer in byte compiling

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1+2020-12-29 HIRAOKA Kazuyuki <khi@users.osdn.me>
2+
3+ * cheat-font-lock.el (cheat-font-lock-fontify):
4+ fix warning on font-lock-fontify-buffer in byte compiling
5+
16 2020-10-15 HIRAOKA Kazuyuki <khi@users.osdn.me>
27
38 * configure.ac: set version as 1.4.7-snapshot2
--- a/cheat-font-lock.el
+++ b/cheat-font-lock.el
@@ -105,7 +105,10 @@
105105 (font-lock-set-defaults))
106106
107107 (defun cheat-font-lock-fontify (&optional dummy)
108- (font-lock-fontify-buffer))
108+ (if (fboundp 'font-lock-ensure)
109+ (font-lock-ensure)
110+ (with-no-warnings
111+ (font-lock-fontify-buffer))))
109112
110113 (provide 'cheat-font-lock)
111114
Show on old repository browser