# HG changeset patch # User Chong Yidong # Date 1220736580 0 # Node ID 68a220b546b7fcf1620c1fec8f6c071fc9c269d7 # Parent 5cc38a558cdd59a0bcfdc728dfb9ed9ac832ae49 (tooltip-mode): Initialize unconditionally to t. diff -r 5cc38a558cdd -r 68a220b546b7 lisp/tooltip.el --- 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))