changeset 98061:68a220b546b7

(tooltip-mode): Initialize unconditionally to t.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 06 Sep 2008 21:29:40 +0000
parents 5cc38a558cdd
children f2a6b3265c21
files lisp/tooltip.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tooltip.el	Sat Sep 06 21:29:32 2008 +0000
+++ b/lisp/tooltip.el	Sat Sep 06 21:29:40 2008 +0000
@@ -49,10 +49,9 @@
 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))