diff options
| -rw-r--r-- | lisp/tooltip.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index d30579a7049..c6509d997af 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -49,10 +49,9 @@ all pop-up help appears in the echo area.) | |||
| 49 | When Tooltip mode is disabled, Emacs displays one line of | 49 | When Tooltip mode is disabled, Emacs displays one line of |
| 50 | the help text in the echo area, and does not make a pop-up window." | 50 | the help text in the echo area, and does not make a pop-up window." |
| 51 | :global t | 51 | :global t |
| 52 | :init-value (not (or noninteractive | 52 | ;; Even if we start on a text-only terminal, make this non-nil by |
| 53 | emacs-basic-display | 53 | ;; default because we can open a graphical frame later (multi-tty). |
| 54 | (not (display-graphic-p)) | 54 | :init-value t |
| 55 | (not (fboundp 'x-show-tip)))) | ||
| 56 | :initialize 'custom-initialize-safe-default | 55 | :initialize 'custom-initialize-safe-default |
| 57 | :group 'tooltip | 56 | :group 'tooltip |
| 58 | (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) | 57 | (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) |