1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399)

This commit is contained in:
Kyle Meyer 2016-02-01 08:48:35 -05:00 committed by Stefan Monnier
parent 43cb9f8ff3
commit 3b734e1273

View File

@ -479,9 +479,9 @@ LIMIT."
(not (null pos)))))
(defalias 'org-font-lock-ensure
(if (fboundp 'org-font-lock-ensure)
(if (fboundp 'font-lock-ensure)
#'font-lock-ensure
(lambda (_beg _end) (font-lock-fontify-buffer))))
(lambda (&optional _beg _end) (font-lock-fontify-buffer))))
(defun org-floor* (x &optional y)
"Return a list of the floor of X and the fractional part of X.