]> git.eshelyaron.com Git - emacs.git/commit
Narrow scope of modification hook renabling in org-src fontification
authorNoam Postavsky <npostavs@gmail.com>
Tue, 21 Mar 2017 13:03:47 +0000 (09:03 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 21 Mar 2017 13:19:57 +0000 (09:19 -0400)
commitd38fd9229c07c531ebc0bec0ea65f7d7dffcd983
treec8e9b342d335579ef5d15172ca4d68356012c375
parente0e9db4c84ab44fc852d3901c1c9ae20816bd704
Narrow scope of modification hook renabling in org-src fontification

Modification hooks should be enabled while modifying text in the
org-src temp buffer, but in 2017-01-29 "Call modification hooks in
org-src fontify buffers" the hooks were enabled also for modifications
to the original org buffer.  This causes fontification errors when
combined with certain packages, as reported in
http://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00420.html.

* lisp/org/org-src.el (org-src-font-lock-fontify-block): Reduce scope
of inhibit-modification-hooks let-binding.
lisp/org/org-src.el