]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el (isearch-post-command-hook): Revert ff796823e5 (bug#47894).
authorJuri Linkov <juri@linkov.net>
Tue, 20 Apr 2021 20:00:26 +0000 (23:00 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 20 Apr 2021 20:00:26 +0000 (23:00 +0300)
lisp/isearch.el

index 69fdc9df6d9d3c5e044f1c1663f43e4108d640b7..fb2633dbe8b74be3201279245316a9f6e631a089 100644 (file)
@@ -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)