]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (remove-hook): Use set-variable-value-history for value history
authorJuri Linkov <juri@linkov.net>
Wed, 12 Jan 2022 19:08:16 +0000 (21:08 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 12 Jan 2022 19:08:16 +0000 (21:08 +0200)
lisp/subr.el

index 7906324f80c88932b823be13cad14f83c914bfa1..12a5c2a10bc470655dca32420d03405175f89577 100644 (file)
@@ -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))