aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2013-12-04 02:12:02 +0200
committerJuri Linkov2013-12-04 02:12:02 +0200
commitc085e5b909ea10f8e593f35f2d4a57df147c0591 (patch)
tree2b643308356be1fbe85cc2909d8ee5ae9bfa9fe9
parent5df474aaa900307b90d55434308c32c555314313 (diff)
downloademacs-c085e5b909ea10f8e593f35f2d4a57df147c0591.tar.gz
emacs-c085e5b909ea10f8e593f35f2d4a57df147c0591.zip
* lisp/isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL
in add-hook and remove-hook for multi-buffer search. * doc/lispref/searching.texi (Search and Replace): Fix `unread-command-events' and add ref. Fixes: debbugs:16035
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/searching.texi3
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el8
4 files changed, 15 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 92335dc616d..f4f036f33ad 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12013-12-04 Juri Linkov <juri@jurta.org>
2
3 * searching.texi (Search and Replace): Fix `unread-command-events'
4 and add ref.
5
12013-12-03 Juri Linkov <juri@jurta.org> 62013-12-03 Juri Linkov <juri@jurta.org>
2 7
3 * windows.texi (Choosing Window): Rename `no-display-ok' to 8 * windows.texi (Choosing Window): Rename `no-display-ok' to
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index 15aa23f77ea..a5bd5ab719b 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1770,10 +1770,9 @@ Do not take action for this question---in other words, ``no''.
1770Answer this question ``no'', and give up on the entire series of 1770Answer this question ``no'', and give up on the entire series of
1771questions, assuming that the answers will be ``no''. 1771questions, assuming that the answers will be ``no''.
1772 1772
1773@c FIXME: Document ‘unread-comment-events’? --xfq
1774@item exit-prefix 1773@item exit-prefix
1775Like @code{exit}, but add the key that was pressed to 1774Like @code{exit}, but add the key that was pressed to
1776@code{unread-comment-events}. 1775@code{unread-command-events} (@pxref{Event Input Misc}).
1777 1776
1778@item act-and-exit 1777@item act-and-exit
1779Answer this question ``yes'', and give up on the entire series of 1778Answer this question ``yes'', and give up on the entire series of
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0c5db95587d..530a7012f6f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-12-04 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5
12013-12-03 Tom Regner <tom@goochesa.de> (tiny change) 62013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2 7
3 * notifications.el (notifications-close-notification): Call the 8 * notifications.el (notifications-close-notification): Call the
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 3abb03a084a..aee2f4f9f27 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -912,8 +912,8 @@ convert the search string to a regexp used by regexp search functions."
912 912
913 (isearch-update) 913 (isearch-update)
914 914
915 (add-hook 'pre-command-hook 'isearch-pre-command-hook nil t) 915 (add-hook 'pre-command-hook 'isearch-pre-command-hook)
916 (add-hook 'post-command-hook 'isearch-post-command-hook nil t) 916 (add-hook 'post-command-hook 'isearch-post-command-hook)
917 (add-hook 'mouse-leave-buffer-hook 'isearch-done) 917 (add-hook 'mouse-leave-buffer-hook 'isearch-done)
918 (add-hook 'kbd-macro-termination-hook 'isearch-done) 918 (add-hook 'kbd-macro-termination-hook 'isearch-done)
919 919
@@ -992,8 +992,8 @@ NOPUSH is t and EDIT is t."
992 (unless (equal (car command-history) command) 992 (unless (equal (car command-history) command)
993 (setq command-history (cons command command-history))))) 993 (setq command-history (cons command command-history)))))
994 994
995 (remove-hook 'pre-command-hook 'isearch-pre-command-hook t) 995 (remove-hook 'pre-command-hook 'isearch-pre-command-hook)
996 (remove-hook 'post-command-hook 'isearch-post-command-hook t) 996 (remove-hook 'post-command-hook 'isearch-post-command-hook)
997 (remove-hook 'mouse-leave-buffer-hook 'isearch-done) 997 (remove-hook 'mouse-leave-buffer-hook 'isearch-done)
998 (remove-hook 'kbd-macro-termination-hook 'isearch-done) 998 (remove-hook 'kbd-macro-termination-hook 'isearch-done)
999 (setq isearch-lazy-highlight-start nil) 999 (setq isearch-lazy-highlight-start nil)