Commit 35f825bd authored by Richard M. Stallman's avatar Richard M. Stallman

(help-at-pt-unload-hook): Use add-hook; no defvar.

parent 86bd482f
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment