summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/isearch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index d4371335084..b987867b226 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1295,7 +1295,7 @@ If there is no completion possible, say so and continue searching."
(setq isearch-other-end
(if isearch-forward (match-beginning 0) (match-end 0)))))
- (quit (isearch-unread (nth 3 (current-input-mode)))
+ (quit (isearch-unread ?\C-g)
(setq isearch-success nil))
(invalid-regexp