From: Kyle Meyer Date: Mon, 1 Feb 2016 13:48:35 +0000 (-0500) Subject: * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399) X-Git-Tag: emacs-25.0.91~131 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b734e1273220596485f2dcbdb3be916eba53047;p=emacs.git * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399) --- diff --git a/lisp/org/org-compat.el b/lisp/org/org-compat.el index 6403d4df04d..cf6aafc9854 100644 --- a/lisp/org/org-compat.el +++ b/lisp/org/org-compat.el @@ -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.