diff options
| author | Juri Linkov | 2013-12-04 02:12:02 +0200 |
|---|---|---|
| committer | Juri Linkov | 2013-12-04 02:12:02 +0200 |
| commit | c085e5b909ea10f8e593f35f2d4a57df147c0591 (patch) | |
| tree | 2b643308356be1fbe85cc2909d8ee5ae9bfa9fe9 | |
| parent | 5df474aaa900307b90d55434308c32c555314313 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/searching.texi | 3 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/isearch.el | 8 |
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 @@ | |||
| 1 | 2013-12-04 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * searching.texi (Search and Replace): Fix `unread-command-events' | ||
| 4 | and add ref. | ||
| 5 | |||
| 1 | 2013-12-03 Juri Linkov <juri@jurta.org> | 6 | 2013-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''. | |||
| 1770 | Answer this question ``no'', and give up on the entire series of | 1770 | Answer this question ``no'', and give up on the entire series of |
| 1771 | questions, assuming that the answers will be ``no''. | 1771 | questions, 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 |
| 1775 | Like @code{exit}, but add the key that was pressed to | 1774 | Like @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 |
| 1779 | Answer this question ``yes'', and give up on the entire series of | 1778 | Answer 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 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change) | 6 | 2013-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) |