diff lisp/tooltip.el @ 64257:808b36b5395e

(tooltip-mode): Revert to previous implementation of its defcustom.
author Luc Teirlinck <teirllm@auburn.edu>
date Tue, 12 Jul 2005 20:14:40 +0000
parents 32225b9cc7d5
children d905b8d515a1
line wrap: on
line diff
--- a/lisp/tooltip.el	Tue Jul 12 20:13:23 2005 +0000
+++ b/lisp/tooltip.el	Tue Jul 12 20:14:40 2005 +0000
@@ -159,11 +159,13 @@
   "Toggle Tooltip display.
 With ARG, turn tooltip mode on if and only if ARG is positive."
   :global t
+  ;; If you change the :init-value below, you also need to change the
+  ;; corresponding code in startup.el.
   :init-value (not (or noninteractive
-		       emacs-quick-startup
-		       (not (display-graphic-p))
+		       (and (boundp 'emacs-quick-startup) emacs-quick-startup)
+		       (not (and (fboundp 'display-graphic-p)
+				 (display-graphic-p)))
 		       (not (fboundp 'x-show-tip))))
-  :initialize 'custom-initialize-safe-default
   :group 'tooltip
   (unless (or (null tooltip-mode) (fboundp 'x-show-tip))
     (error "Sorry, tooltips are not yet available on this system"))