Don't modify buffer by unprettification
commit82df1878e6559188e688195f992fff10f35035e8
authorTassilo Horn <tsdh@gnu.org>
Wed, 30 Sep 2015 18:15:22 +0000 (30 20:15 +0200)
committerTassilo Horn <tsdh@gnu.org>
Wed, 30 Sep 2015 18:15:22 +0000 (30 20:15 +0200)
tree9c5146d06a3d58aabe82d16da06aa24d682309f1
parent8b1df960131a173779e88df605a21ebc0443634a
Don't modify buffer by unprettification

* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
(prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
modify buffer when setting/removing custom prettify-symbols-start/end
text properties.  Add them to font-lock-extra-managed-props, too.
lisp/progmodes/prog-mode.el