* lisp/tooltip.el (tooltip-cancel-delayed-tip): Fix missing argument.

This resurrects tooltips, see bug#65147.
This commit is contained in:
David Ponce 2023-08-08 12:47:13 +02:00 committed by Eli Zaretskii
parent 2b67609c34
commit 22ebef12e9

View file

@ -200,7 +200,7 @@ This might return nil if the event did not occur over a buffer."
(defun tooltip-start-delayed-tip ()
"Add a one-shot timeout to call function `tooltip-timeout'."
(setq tooltip-timeout-id
(run-with-timer (tooltip-delay) 'tooltip-timeout nil)))
(run-with-timer (tooltip-delay) nil 'tooltip-timeout nil)))
(defun tooltip-timeout (_object)
"Function called when timer with id `tooltip-timeout-id' fires."