1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-05 07:01:11 -08:00

* lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).

This commit is contained in:
Katsumi Yamaoka 2015-06-29 23:13:45 +00:00
parent ea399306a3
commit 3fa319bd84

View file

@ -1184,8 +1184,8 @@ nonincremental search instead via `isearch-edit-string'."
(if (and search-nonincremental-instead
(= 0 (length isearch-string)))
(let ((isearch-nonincremental t))
(isearch-edit-string)))
(isearch-done)
(isearch-edit-string)) ;; this calls isearch-done as well
(isearch-done))
(isearch-clean-overlays))
(defun isearch-fail-pos (&optional msg)