From e712f178229140043d72509ba3e68b5a43f4ea80 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 15 May 2016 16:02:02 -0400 Subject: [PATCH] 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. --- lisp/org-compat.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 13302e017..3f1025962 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -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.