summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-24 16:03:25 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-24 16:03:25 +0000
commit99022248c14c9d14687582485cf7eaae15ee7f39 (patch)
tree85bfd37587c7d7241cf75834d9013f91cb108195 /lisp/isearch.el
parentffa4b60194819319362b0d8dc785f5037d3983ef (diff)
downloademacs-99022248c14c9d14687582485cf7eaae15ee7f39.tar.gz
(isearch-edit-string): When starting nonincremental
search, after peeking ahead one char, call cancel-kbd-macro-events.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index f4648e42532..8b3fe4272aa 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -690,6 +690,7 @@ If first char entered is \\[isearch-yank-word], then do word search instead."
(lookup-key isearch-mode-map (vector e)))
(setq isearch-word t ;; so message-prefix is right
isearch-new-word t)
+ (cancel-kbd-macro-events)
(isearch-unread e))
(setq cursor-in-echo-area nil)
(setq isearch-new-string