emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 741dc6a: * lisp/isearch.el (isearch-post-command-hook): Revert ff


From: Juri Linkov
Subject: master 741dc6a: * lisp/isearch.el (isearch-post-command-hook): Revert ff796823e5 (bug#47894).
Date: Tue, 20 Apr 2021 16:00:39 -0400 (EDT)

branch: master
commit 741dc6a8e8c50deb7a18e9b66cb78b85322238b1
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/isearch.el (isearch-post-command-hook): Revert ff796823e5 
(bug#47894).
---
 lisp/isearch.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 69fdc9d..fb2633d 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -3056,10 +3056,6 @@ See more for options in `search-exit-option'."
            (goto-char isearch-pre-move-point))
          (isearch-search-and-update)))
      (setq isearch-pre-move-point nil))
-  ;; Terminate the search if point has moved to another buffer.
-  (unless (eq isearch--current-buffer (current-buffer))
-    (when (buffer-live-p isearch--current-buffer)
-      (with-current-buffer isearch--current-buffer (isearch-exit))))
   (force-mode-line-update))
 
 (defun isearch-quote-char (&optional count)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]