aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2005-03-10 14:45:31 +0000
committerStefan Monnier2005-03-10 14:45:31 +0000
commitef75a6477366c638e58c8660eb9e0ccfbde85c49 (patch)
tree037a9ecae2376b68c032a7ba24e504bdbcdf486e
parent449808f757acf51ff61875c5c32dfa3000a72f24 (diff)
downloademacs-ef75a6477366c638e58c8660eb9e0ccfbde85c49.tar.gz
emacs-ef75a6477366c638e58c8660eb9e0ccfbde85c49.zip
(tooltip-mode): Don't complain that you can't turn the
feature ON when the user requests to turn it OFF.
-rw-r--r--lisp/ChangeLog13
-rw-r--r--lisp/tooltip.el2
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9952c55973..daf15811bdc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,15 +1,18 @@
12005-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * tooltip.el (tooltip-mode): Don't complain that you can't turn the
4 feature ON when the user requests to turn it OFF.
5
12005-03-10 Lute Kamstra <lute@gnu.org> 62005-03-10 Lute Kamstra <lute@gnu.org>
2 7
3 * emacs-lisp/debug.el (debug-entry-code): Delete it. 8 * emacs-lisp/debug.el (debug-entry-code): Delete it.
4 (implement-debug-on-entry): New function to replace 9 (implement-debug-on-entry): New function to replace debug-entry-code.
5 debug-entry-code.
6 (debug-on-entry-1): Use implement-debug-on-entry. Delete the 10 (debug-on-entry-1): Use implement-debug-on-entry. Delete the
7 second argument as the 2005-03-07 change makes it obsolete. 11 second argument as the 2005-03-07 change makes it obsolete.
8 (debug-on-entry, cancel-debug-on-entry): Update call to 12 (debug-on-entry, cancel-debug-on-entry): Update call to
9 debug-on-entry-1. 13 debug-on-entry-1.
10 (debug, debugger-setup-buffer): Comment update. 14 (debug, debugger-setup-buffer): Comment update.
11 (debugger-frame-number): Update to work with 15 (debugger-frame-number): Update to work with implement-debug-on-entry.
12 implement-debug-on-entry.
13 16
142005-03-10 Jay Belanger <belanger@truman.edu> 172005-03-10 Jay Belanger <belanger@truman.edu>
15 18
@@ -54,7 +57,7 @@
54 57
55 * textmodes/ispell.el (ispell-insert-word): New function. 58 * textmodes/ispell.el (ispell-insert-word): New function.
56 (ispell-word): Use ispell-insert-word to insert a new word. 59 (ispell-word): Use ispell-insert-word to insert a new word.
57 (ispell-process-line): Likewise 60 (ispell-process-line): Likewise.
58 (ispell-complete-word): Likewise. 61 (ispell-complete-word): Likewise.
59 62
602005-03-09 Glenn Morris <gmorris@ast.cam.ac.uk> 632005-03-09 Glenn Morris <gmorris@ast.cam.ac.uk>
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 6d81ee39d7f..e4cab1beba1 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -188,7 +188,7 @@ This might return nil if the event did not occur over a buffer."
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 :group 'tooltip 190 :group 'tooltip
191 (unless (fboundp 'x-show-tip) 191 (unless (or (null tooltip-mode) (fboundp 'x-show-tip))
192 (error "Sorry, tooltips are not yet available on this system")) 192 (error "Sorry, tooltips are not yet available on this system"))
193 (let ((hook-fn (if tooltip-mode 'add-hook 'remove-hook))) 193 (let ((hook-fn (if tooltip-mode 'add-hook 'remove-hook)))
194 (funcall hook-fn 'change-major-mode-hook 'tooltip-change-major-mode) 194 (funcall hook-fn 'change-major-mode-hook 'tooltip-change-major-mode)