* lisp/subr.el (remove-hook): Use set-variable-value-history for value history
This commit is contained in:
parent
c1f9db4758
commit
7b139afbf4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue