]> git.eshelyaron.com Git - emacs.git/commit
(add-hook, remove-hook): Fix leaks (bug#48666)
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Feb 2022 15:18:43 +0000 (10:18 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 22 Feb 2022 15:18:43 +0000 (10:18 -0500)
commit4bd7963e2e244ace94afa59124f2637543d74ba2
tree01c8ae1f66cdaa307448fbcd7fcb79081fb87d7f
parent09bd220d865520f2426ae99d97b8b8296058732f
(add-hook, remove-hook): Fix leaks (bug#48666)

* lisp/subr.el (add-hook, remove-hook): Rewrite the hook depth
management so we only keep the info relevant to functions present on
the hook.
lisp/subr.el