]> git.eshelyaron.com Git - emacs.git/commit
(add-hook): Fix regression
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Feb 2022 03:52:40 +0000 (22:52 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Feb 2022 03:52:40 +0000 (22:52 -0500)
commit8adc3672ac1b2fb90d142cfe2a1a74d36e33b41b
tree3f1db12932d4380de4e9383ae87a8eb3e31003dd
parent659eca9ed8df020a2f3edd84a82b3316820749c7
(add-hook): Fix regression

* lisp/subr.el (add-hook): When the hook has no local part yet, don't
set `local` to t, so we set the right part of the depth-sym.
(remove-hook): Don't modify the depth alist by side-effect since I'm
not completely sure it's safe.
lisp/subr.el