1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(tooltip-mode): Revert to previous implementation of its defcustom.

This commit is contained in:
Luc Teirlinck 2005-07-12 20:14:40 +00:00
parent 022034b72e
commit 2231b5c5f8

View file

@ -159,11 +159,13 @@ This might return nil if the event did not occur over a buffer."
"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"))