]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-edit-string): When starting nonincremental
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Aug 1996 16:03:25 +0000 (16:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Aug 1996 16:03:25 +0000 (16:03 +0000)
search, after peeking ahead one char, call cancel-kbd-macro-events.

lisp/isearch.el

index f4648e425322dfb72aa2b84afa0bd85b8e926615..8b3fe4272aac2476151ee22b6efb6a28e71365c3 100644 (file)
@@ -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