From 3b734e1273220596485f2dcbdb3be916eba53047 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 1 Feb 2016 08:48:35 -0500 Subject: [PATCH] * org/org-compat.el (org-font-lock-ensure): Fix bogus test (bug#22399) --- lisp/org/org-compat.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.2