mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
(help-at-pt-unload-hook): Use add-hook; no defvar.
This commit is contained in:
parent
86bd482f70
commit
35f825bdab
@ -348,8 +348,7 @@ different regions. With numeric argument ARG, behaves like
|
||||
(interactive "p")
|
||||
(scan-buf-move-to-region 'help-echo (- arg) 'scan-buf-move-hook))
|
||||
|
||||
(defvar help-at-pt-unload-hook '(help-at-pt-cancel-timer)
|
||||
"Normal hook run when `help-at-pt' is unloaded.")
|
||||
(add-hook 'help-at-pt-unload-hook 'help-at-pt-cancel-timer)
|
||||
|
||||
(provide 'help-at-pt)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user