aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuri Linkov2022-01-12 21:08:16 +0200
committerJuri Linkov2022-01-12 21:08:16 +0200
commit7b139afbf4bfcd734ef50cd0d17b9a2f21620512 (patch)
tree3505e8d80fe53e3505754b75822028dae479c24c /lisp
parentc1f9db475828db39b06da08064f868f9519b0b8f (diff)
downloademacs-7b139afbf4bfcd734ef50cd0d17b9a2f21620512.tar.gz
emacs-7b139afbf4bfcd734ef50cd0d17b9a2f21620512.zip
* lisp/subr.el (remove-hook): Use set-variable-value-history for value history
Diffstat (limited to 'lisp')
-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."
1971 (format "%s hook to remove: " 1971 (format "%s hook to remove: "
1972 (if local "Buffer-local" "Global")) 1972 (if local "Buffer-local" "Global"))
1973 fn-alist 1973 fn-alist
1974 nil t) 1974 nil t nil 'set-variable-value-history)
1975 fn-alist nil nil #'string=))) 1975 fn-alist nil nil #'string=)))
1976 (list hook function local))) 1976 (list hook function local)))
1977 (or (boundp hook) (set hook nil)) 1977 (or (boundp hook) (set hook nil))