Commit 3b734e12 authored by Kyle Meyer's avatar Kyle Meyer Committed by Stefan Monnier
Browse files

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

parent 43cb9f8f
......@@ -479,9 +479,9 @@ LIMIT."
(not (null pos)))))
(defalias 'org-font-lock-ensure
(if (fboundp 'org-font-lock-ensure)
(if (fboundp '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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment