Function: dictionary-switch-tooltip-mode
dictionary-switch-tooltip-mode is a byte-compiled function defined in
dictionary.el.gz.
Signature
(dictionary-switch-tooltip-mode ON)
Documentation
Turn off or on support for the dictionary tooltip mode.
It is normally internally called with 1 to enable support for the
tooltip mode. The hook function will check the value of the
variable dictionary-tooltip-mode(var)/dictionary-tooltip-mode(fun) to decide if some action must be
taken. When disabling the tooltip mode the value of this variable
will be set to nil.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-switch-tooltip-mode (on)
"Turn off or on support for the dictionary tooltip mode.
It is normally internally called with 1 to enable support for the
tooltip mode. The hook function will check the value of the
variable `dictionary-tooltip-mode' to decide if some action must be
taken. When disabling the tooltip mode the value of this variable
will be set to nil."
(tooltip-mode on)
(if on
(add-hook 'tooltip-functions #'dictionary-display-tooltip)
(remove-hook 'tooltip-functions #'dictionary-display-tooltip)))