Function: tooltip-hide
tooltip-hide is a byte-compiled function defined in tooltip.el.gz.
Signature
(tooltip-hide &optional IGNORED-ARG)
Documentation
Hide a tooltip, if one is displayed.
Value is non-nil if tooltip was open.
Source Code
;; Defined in /usr/src/emacs/lisp/tooltip.el.gz
(defun tooltip-hide (&optional _ignored-arg)
"Hide a tooltip, if one is displayed.
Value is non-nil if tooltip was open."
(tooltip-cancel-delayed-tip)
(if (display-graphic-p)
(when (x-hide-tip)
(setq tooltip-hide-time (float-time)))
(let ((msg (current-message)))
(message "")
(when (not (or (null msg) (equal msg "")))
(setq tooltip-hide-time (float-time))))))