forked from mirrors/org-mode
org-compat: Quiet font-lock-fontify-buffer warning
* lisp/org-compat.el (org-font-lock-ensure): Quiet byte compiler warning about font-lock-fontify-buffer.
This commit is contained in:
parent
3b8fc502b9
commit
e712f17822
|
@ -413,7 +413,8 @@ Pass BUFFER to the XEmacs version of `move-to-column'."
|
|||
(defalias 'org-font-lock-ensure
|
||||
(if (fboundp 'font-lock-ensure)
|
||||
#'font-lock-ensure
|
||||
(lambda (&optional _beg _end) (font-lock-fontify-buffer))))
|
||||
(lambda (&optional _beg _end)
|
||||
(with-no-warnings (font-lock-fontify-buffer)))))
|
||||
|
||||
(defmacro org-no-popups (&rest body)
|
||||
"Suppress popup windows.
|
||||
|
|
Loading…
Reference in New Issue