1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

* lisp/isearch.el (isearch-post-command-hook): Revert ff796823e5 (bug#47894).

This commit is contained in:
Juri Linkov 2021-04-20 23:00:26 +03:00
parent afcdd4cab3
commit 741dc6a8e8

View 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)