[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/tooltip.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/tooltip.el |
Date: |
Thu, 10 Mar 2005 09:45:35 -0500 |
Index: emacs/lisp/tooltip.el
diff -c emacs/lisp/tooltip.el:1.41 emacs/lisp/tooltip.el:1.42
*** emacs/lisp/tooltip.el:1.41 Wed Mar 9 23:19:00 2005
--- emacs/lisp/tooltip.el Thu Mar 10 14:45:31 2005
***************
*** 188,194 ****
With ARG, turn tooltip mode on if and only if ARG is positive."
:global t
:group 'tooltip
! (unless (fboundp 'x-show-tip)
(error "Sorry, tooltips are not yet available on this system"))
(let ((hook-fn (if tooltip-mode 'add-hook 'remove-hook)))
(funcall hook-fn 'change-major-mode-hook 'tooltip-change-major-mode)
--- 188,194 ----
With ARG, turn tooltip mode on if and only if ARG is positive."
:global t
:group 'tooltip
! (unless (or (null tooltip-mode) (fboundp 'x-show-tip))
(error "Sorry, tooltips are not yet available on this system"))
(let ((hook-fn (if tooltip-mode 'add-hook 'remove-hook)))
(funcall hook-fn 'change-major-mode-hook 'tooltip-change-major-mode)