Function: tty-tip-mode

tty-tip-mode is an autoloaded, interactive and byte-compiled function defined in tty-tip.el.gz.

Signature

(tty-tip-mode &optional ARG)

Documentation

Global minor mode for displaying help in tty child frames.

This is a global minor mode. If called interactively, toggle the Tty-Tip mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate (default-value \=tty-tip-mode)'.

The mode's hook is called both when the mode is enabled and when it is disabled.

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/tty-tip.el.gz
;;;###autoload
(define-minor-mode tty-tip-mode
  "Global minor mode for displaying help in tty child frames."
  :global t :group 'help
  (unless (display-graphic-p)
    (cond (tty-tip-mode
	   (setq show-help-function #'tty-tip--show-help)
           (add-hook 'pre-command-hook #'tty-tip--hide))
          (t
           (setq show-help-function nil)
           (remove-hook 'pre-command-hook #'tty-tip--hide)))))