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:
Kyle Meyer 2016-05-15 16:02:02 -04:00
parent 3b8fc502b9
commit e712f17822
1 changed files with 2 additions and 1 deletions

View File

@ -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.