summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-01-12 21:08:16 +0200
committerJuri Linkov <juri@linkov.net>2022-01-12 21:08:16 +0200
commit7b139afbf4bfcd734ef50cd0d17b9a2f21620512 (patch)
tree3505e8d80fe53e3505754b75822028dae479c24c
parentc1f9db475828db39b06da08064f868f9519b0b8f (diff)
downloademacs-7b139afbf4bfcd734ef50cd0d17b9a2f21620512.tar.gz
* lisp/subr.el (remove-hook): Use set-variable-value-history for value history
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 7906324f80c..12a5c2a10bc 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1971,7 +1971,7 @@ one will be removed."
(format "%s hook to remove: "
(if local "Buffer-local" "Global"))
fn-alist
- nil t)
+ nil t nil 'set-variable-value-history)
fn-alist nil nil #'string=)))
(list hook function local)))
(or (boundp hook) (set hook nil))