GNU bug report logs -
#22399
org-mode fontification
Previous Next
Full log
Message #17 received at 22399 <at> debbugs.gnu.org (full text, mbox):
Hi Phillip and Rasmus,
Rasmus <rasmus <at> gmx.us> writes:
[...]
> Note, this change only lives it the Emacs version of Org. It was added in
> this commit:
>
> 6711a21f1125c0047c56eb266eb374c1ec90a967
> Author: Stefan Monnier <monnier <at> 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
This bug report was last modified 9 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.