summaryrefslogtreecommitdiff
path: root/lisp/tooltip.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-09-06 21:29:40 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-09-06 21:29:40 +0000
commit8431201e0ff34b187e01c2cb627602e2d16a79b8 (patch)
treebd88ebad4aac736434e6ccfdc3f87217b980de09 /lisp/tooltip.el
parent8158237f5eed43922ec6ba3a1a845ccfac1898c8 (diff)
downloademacs-8431201e0ff34b187e01c2cb627602e2d16a79b8.tar.gz
(tooltip-mode): Initialize unconditionally to t.
Diffstat (limited to 'lisp/tooltip.el')
-rw-r--r--lisp/tooltip.el7
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.)
When Tooltip mode is disabled, Emacs displays one line of
the help text in the echo area, and does not make a pop-up window."
:global t
- :init-value (not (or noninteractive
- emacs-basic-display
- (not (display-graphic-p))
- (not (fboundp 'x-show-tip))))
+ ;; Even if we start on a text-only terminal, make this non-nil by
+ ;; default because we can open a graphical frame later (multi-tty).
+ :init-value t
:initialize 'custom-initialize-safe-default
:group 'tooltip
(unless (or (null tooltip-mode) (fboundp 'x-show-tip))