aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-01-08 12:26:23 +0000
committerGerd Moellmann2001-01-08 12:26:23 +0000
commit7e56ea04ca076403aeb2d81281a57d1bae45c7da (patch)
tree9aedd58ff22bc6836f1b87182c4e14bdabd97f95
parent2136b408554bccfa957457b127b8905f345a3998 (diff)
downloademacs-7e56ea04ca076403aeb2d81281a57d1bae45c7da.tar.gz
emacs-7e56ea04ca076403aeb2d81281a57d1bae45c7da.zip
(isearch-old-signal-hook): Removed.
(isearch-mode): Add isearch-done to kbd-macro-termination-hook instead of setting signal-hook-function. (isearch-done): Remove isearch-done from kbd-macro-termination-hook.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/isearch.el8
2 files changed, 9 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9f2a62901d7..2f51cc65464 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12001-01-08 Gerd Moellmann <gerd@gnu.org>
2
3 * isearch.el (isearch-old-signal-hook): Removed.
4 (isearch-mode): Add isearch-done to kbd-macro-termination-hook
5 instead of setting signal-hook-function.
6 (isearch-done): Remove isearch-done from kbd-macro-termination-hook.
7
12001-01-07 Eli Zaretskii <eliz@is.elta.co.il> 82001-01-07 Eli Zaretskii <eliz@is.elta.co.il>
2 9
3 * mail/sendmail.el (mail-mode): Doc fix. 10 * mail/sendmail.el (mail-mode): Doc fix.
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 89cf07d89c8..e4a51ffc298 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -404,9 +404,6 @@ Default value, nil, means edit the string instead."
404;; isearch is invoked. 404;; isearch is invoked.
405(defvar isearch-input-method-local-p nil) 405(defvar isearch-input-method-local-p nil)
406 406
407;; Value of `signal-hook-function' before setting our own.
408(defvar isearch-old-signal-hook nil)
409
410;; Minor-mode-alist changes - kind of redundant with the 407;; Minor-mode-alist changes - kind of redundant with the
411;; echo area, but if isearching in multiple windows, it can be useful. 408;; echo area, but if isearching in multiple windows, it can be useful.
412 409
@@ -579,8 +576,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
579 (run-hooks 'isearch-mode-hook) 576 (run-hooks 'isearch-mode-hook)
580 577
581 (add-hook 'mouse-leave-buffer-hook 'isearch-done) 578 (add-hook 'mouse-leave-buffer-hook 'isearch-done)
582 (setq isearch-old-signal-hook signal-hook-function 579 (add-hook 'kbd-macro-termination-hook 'isearch-done)
583 signal-hook-function 'isearch-done)
584 580
585 ;; isearch-mode can be made modal (in the sense of not returning to 581 ;; isearch-mode can be made modal (in the sense of not returning to
586 ;; the calling function until searching is completed) by entering 582 ;; the calling function until searching is completed) by entering
@@ -641,7 +637,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
641 (setq command-history (cons command command-history)))) 637 (setq command-history (cons command command-history))))
642 638
643 (remove-hook 'mouse-leave-buffer-hook 'isearch-done) 639 (remove-hook 'mouse-leave-buffer-hook 'isearch-done)
644 (setq signal-hook-function isearch-old-signal-hook) 640 (remove-hook 'kbd-macro-termination-hook 'isearch-done)
645 641
646 ;; Called by all commands that terminate isearch-mode. 642 ;; Called by all commands that terminate isearch-mode.
647 ;; If NOPUSH is non-nil, we don't push the string on the search ring. 643 ;; If NOPUSH is non-nil, we don't push the string on the search ring.