]> git.eshelyaron.com Git - emacs.git/commit
(message-hide-headers): Don't bind `inhibit-modification-hooks`
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Aug 2024 19:33:05 +0000 (15:33 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:41 +0000 (09:51 +0200)
commit35262a7cb5dc600b13fbe55c3006c0f3daebdb60
tree456f9d3433393445888acb67f3dc1d7648a11d0b
parent1c2051a669740bf8a646598e08c94cfa42e495f3
(message-hide-headers): Don't bind `inhibit-modification-hooks`

This binding dates back at least to 2004 (where we bound
`after-change-functions` instead).  Maybe it had a real impact in the past,
but nowadays I can't see any effect other than maybe a negligible
performance improvement at the cost at breaking some uses of
`before-after-change-functions`.

* lisp/gnus/message.el (message-hide-headers):
Don't bind `inhibit-modification-hooks`.

(cherry picked from commit 10802fb00f59594fa8e524e836eaf0e99e87dec9)
lisp/gnus/message.el