From 7b139afbf4bfcd734ef50cd0d17b9a2f21620512 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 12 Jan 2022 21:08:16 +0200 Subject: [PATCH] * lisp/subr.el (remove-hook): Use set-variable-value-history for value history --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2