diff options
author | Juri Linkov <juri@linkov.net> | 2022-01-12 21:08:16 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-01-12 21:08:16 +0200 |
commit | 7b139afbf4bfcd734ef50cd0d17b9a2f21620512 (patch) | |
tree | 3505e8d80fe53e3505754b75822028dae479c24c | |
parent | c1f9db475828db39b06da08064f868f9519b0b8f (diff) | |
download | emacs-7b139afbf4bfcd734ef50cd0d17b9a2f21620512.tar.gz |
* lisp/subr.el (remove-hook): Use set-variable-value-history for value history
-rw-r--r-- | lisp/subr.el | 2 |
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)) |