From 3fa319bd841dfd0451fcd0e937af9582bdb81ef7 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Mon, 29 Jun 2015 23:13:45 +0000 Subject: [PATCH] * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925). --- lisp/isearch.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 45c6d97dd36..62899ab8298 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -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) -- 2.39.2