[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/tooltip.el
From: |
Luc Teirlinck |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/tooltip.el |
Date: |
Wed, 13 Jul 2005 20:56:53 -0400 |
Index: emacs/lisp/tooltip.el
diff -c emacs/lisp/tooltip.el:1.62 emacs/lisp/tooltip.el:1.63
*** emacs/lisp/tooltip.el:1.62 Tue Jul 12 20:14:40 2005
--- emacs/lisp/tooltip.el Thu Jul 14 00:56:53 2005
***************
*** 154,171 ****
;; set-buffer prevents redisplay optimizations, so every mouse motion
;; would be accompanied by a full redisplay.
- ;;;###autoload
(define-minor-mode tooltip-mode
"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
! (and (boundp 'emacs-quick-startup) emacs-quick-startup)
! (not (and (fboundp 'display-graphic-p)
! (display-graphic-p)))
(not (fboundp 'x-show-tip))))
:group 'tooltip
(unless (or (null tooltip-mode) (fboundp 'x-show-tip))
(error "Sorry, tooltips are not yet available on this system"))
--- 154,168 ----
;; set-buffer prevents redisplay optimizations, so every mouse motion
;; would be accompanied by a full redisplay.
(define-minor-mode tooltip-mode
"Toggle Tooltip display.
With ARG, turn tooltip mode on if and only if ARG is positive."
:global t
:init-value (not (or noninteractive
! emacs-quick-startup
! (not (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"))