]> git.eshelyaron.com Git - emacs.git/commit
help.el: Don't abuse `inhibit-modification-hooks`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 May 2025 21:49:02 +0000 (17:49 -0400)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 May 2025 12:33:54 +0000 (14:33 +0200)
commit2eb15d4b1c53fb1f55bf5727e0afa95a68f6e95b
tree4f5156ae3066868d8c4981531cc05df885a5acad
parent72298c955f2763de0015aa008d973afa2000c2c8
help.el: Don't abuse `inhibit-modification-hooks`

* lisp/help.el (substitute-command-keys):
Set `inhibit-modification-hooks` locally so it doesn't affect
downstream function.
(help--window-setup): Don't let-bind `inhibit-modification-hooks`.
It was introduced accidentally in commit cd87a5c7a18e.

(cherry picked from commit 40559bf71cd5efdf4c88ab43bc7e55abf3a66c20)
lisp/help.el