From: Juri Linkov Date: Wed, 12 Jan 2022 19:08:16 +0000 (+0200) Subject: * lisp/subr.el (remove-hook): Use set-variable-value-history for value history X-Git-Tag: emacs-29.0.90~3109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b139afbf4bfcd734ef50cd0d17b9a2f21620512;p=emacs.git * lisp/subr.el (remove-hook): Use set-variable-value-history for value history --- 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))