diff lisp/startup.el @ 33355:4161fec906e0

(command-line): Set the default tooltip-mode to t for graphical displays which implement x-show-tip.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 09 Nov 2000 23:47:28 +0000
parents d20d5b9045de
children 4cc1de4931b9
line wrap: on
line diff
--- a/lisp/startup.el	Thu Nov 09 23:05:07 2000 +0000
+++ b/lisp/startup.el	Thu Nov 09 23:47:28 2000 +0000
@@ -765,6 +765,12 @@
     (setq-default blink-cursor t)
     (blink-cursor-mode 1))
 
+  (when (and (not noninteractive)
+	     (display-graphic-p)
+	     (fboundp 'x-show-tip))
+    (setq-default tooltip-mode t)
+    (tooltip-mode 1))
+
   ;; Register default TTY colors for the case the terminal hasn't a
   ;; terminal init file.
   (or (memq window-system '(x w32))