Hi Phillip and Rasmus, Rasmus <ras...@gmx.us> writes:
[...] > Note, this change only lives it the Emacs version of Org. It was added in > this commit: > > 6711a21f1125c0047c56eb266eb374c1ec90a967 > Author: Stefan Monnier <monn...@iro.umontreal.ca> > AuthorDate: Wed May 28 23:45:29 2014 -0400 > > * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions. > * lisp/org/org-compat.el (org-font-lock-ensure): New function. > * lisp/org/ox-odt.el (org-odt-do-format-code): > * lisp/org/ox-html.el (org-html-fontify-code): > * lisp/org/org.el (org-fontify-like-in-org-mode): > * lisp/org/org-src.el (org-src-font-lock-fontify-block): > * lisp/org/org-clock.el (org-clock-get-clocktable): Use it. > * lisp/org/ox-org.el (org-org-publish-to-org): Use it. Avoid using > find-file > from Elisp. > * test/automated/ruby-mode-tests.el (ruby-assert-face): Use > font-lock-ensure. > (ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize. This commit was backported in Org commit d81e6b5, and then followed up by c115c7b (org-compat: Use different font-lock-ensure alias, 2015-07-26), which defined the alias as (unless (fboundp 'font-lock-ensure) (defalias 'font-lock-ensure 'font-lock-fontify-buffer)) -- Kyle