[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3fa319b 1/2: * lisp/isearch.el (isearch-exit): Don'
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] master 3fa319b 1/2: * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925). |
Date: |
Tue, 30 Jun 2015 03:47:58 +0000 |
branch: master
commit 3fa319bd841dfd0451fcd0e937af9582bdb81ef7
Author: Katsumi Yamaoka <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>
* lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).
---
lisp/isearch.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 45c6d97..62899ab 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 3fa319b 1/2: * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925).,
Katsumi Yamaoka <=