summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-04-20 23:00:26 +0300
committerJuri Linkov <juri@linkov.net>2021-04-20 23:00:26 +0300
commit741dc6a8e8c50deb7a18e9b66cb78b85322238b1 (patch)
tree904691717468f2321d6c14c3faafaa54d41c8e3b
parentafcdd4cab3d8c3450852405a3dd64a5316d38b85 (diff)
downloademacs-741dc6a8e8c50deb7a18e9b66cb78b85322238b1.tar.gz
* lisp/isearch.el (isearch-post-command-hook): Revert ff796823e5 (bug#47894).
-rw-r--r--lisp/isearch.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 69fdc9df6d9..fb2633dbe8b 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)