1
0
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:
Richard M. Stallman 2004-10-17 06:54:13 +00:00
parent 86bd482f70
commit 35f825bdab

View File

@ -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)