aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-04-16 00:21:56 +0000
committerLuc Teirlinck2005-04-16 00:21:56 +0000
commitd5e2843d274a95d548f5c512f7251dae8f02b94a (patch)
treec606a7801b228c98ad7ec9d9f36c16e8ded6c6f2
parentf6579c71826443f813c6906ecbe117c280dd8fce (diff)
downloademacs-d5e2843d274a95d548f5c512f7251dae8f02b94a.tar.gz
emacs-d5e2843d274a95d548f5c512f7251dae8f02b94a.zip
(tooltip-mode): Specify correct standard value for Custom in init-value.
-rw-r--r--lisp/tooltip.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 59f82c12e31..f0620003cd6 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -187,6 +187,12 @@ This might return nil if the event did not occur over a buffer."
187 "Toggle Tooltip display. 187 "Toggle Tooltip display.
188With ARG, turn tooltip mode on if and only if ARG is positive." 188With ARG, turn tooltip mode on if and only if ARG is positive."
189 :global t 189 :global t
190 ;; If you change the :init-value below, you also need to change the
191 ;; corresponding code in startup.el.
192 :init-value (not (or noninteractive
193 emacs-quick-startup
194 (not (display-graphic-p))
195 (not (fboundp 'x-show-tip))))
190 :group 'tooltip 196 :group 'tooltip
191 (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) 197 (unless (or (null tooltip-mode) (fboundp 'x-show-tip))
192 (error "Sorry, tooltips are not yet available on this system")) 198 (error "Sorry, tooltips are not yet available on this system"))