aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-09 23:47:28 +0000
committerGerd Moellmann2000-11-09 23:47:28 +0000
commit3b73087ec0836d6c483818c8d4bea4385aec2c03 (patch)
treee72ad770eb5255c60241820df555a9c013291a7e
parent730c746cac7f9a817d543460fd5a11732f2f77af (diff)
downloademacs-3b73087ec0836d6c483818c8d4bea4385aec2c03.tar.gz
emacs-3b73087ec0836d6c483818c8d4bea4385aec2c03.zip
(command-line): Set the default tooltip-mode
to t for graphical displays which implement x-show-tip.
-rw-r--r--lisp/startup.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 1c0f9814cf1..8cc24039b12 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -765,6 +765,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
765 (setq-default blink-cursor t) 765 (setq-default blink-cursor t)
766 (blink-cursor-mode 1)) 766 (blink-cursor-mode 1))
767 767
768 (when (and (not noninteractive)
769 (display-graphic-p)
770 (fboundp 'x-show-tip))
771 (setq-default tooltip-mode t)
772 (tooltip-mode 1))
773
768 ;; Register default TTY colors for the case the terminal hasn't a 774 ;; Register default TTY colors for the case the terminal hasn't a
769 ;; terminal init file. 775 ;; terminal init file.
770 (or (memq window-system '(x w32)) 776 (or (memq window-system '(x w32))