Commit c085e5b9 authored by Juri Linkov's avatar Juri Linkov

* 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
parent 5df474aa
2013-12-04 Juri Linkov <juri@jurta.org>
* searching.texi (Search and Replace): Fix `unread-command-events'
and add ref.
2013-12-03 Juri Linkov <juri@jurta.org>
* windows.texi (Choosing Window): Rename `no-display-ok' to
......
......@@ -1770,10 +1770,9 @@ Do not take action for this question---in other words, ``no''.
Answer this question ``no'', and give up on the entire series of
questions, assuming that the answers will be ``no''.
@c FIXME: Document ‘unread-comment-events’? --xfq
@item exit-prefix
Like @code{exit}, but add the key that was pressed to
@code{unread-comment-events}.
@code{unread-command-events} (@pxref{Event Input Misc}).
@item act-and-exit
Answer this question ``yes'', and give up on the entire series of
......
2013-12-04 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
add-hook and remove-hook for multi-buffer search. (Bug#16035)
2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
* notifications.el (notifications-close-notification): Call the
......
......@@ -912,8 +912,8 @@ convert the search string to a regexp used by regexp search functions."
(isearch-update)
(add-hook 'pre-command-hook 'isearch-pre-command-hook nil t)
(add-hook 'post-command-hook 'isearch-post-command-hook nil t)
(add-hook 'pre-command-hook 'isearch-pre-command-hook)
(add-hook 'post-command-hook 'isearch-post-command-hook)
(add-hook 'mouse-leave-buffer-hook 'isearch-done)
(add-hook 'kbd-macro-termination-hook 'isearch-done)
......@@ -992,8 +992,8 @@ NOPUSH is t and EDIT is t."
(unless (equal (car command-history) command)
(setq command-history (cons command command-history)))))
(remove-hook 'pre-command-hook 'isearch-pre-command-hook t)
(remove-hook 'post-command-hook 'isearch-post-command-hook t)
(remove-hook 'pre-command-hook 'isearch-pre-command-hook)
(remove-hook 'post-command-hook 'isearch-post-command-hook)
(remove-hook 'mouse-leave-buffer-hook 'isearch-done)
(remove-hook 'kbd-macro-termination-hook 'isearch-done)
(setq isearch-lazy-highlight-start nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment