Commit bbe558f1 authored by Juri Linkov's avatar Juri Linkov

* lisp/isearch.el (isearch-other-meta-char): Don't store kmacro commands

in the keyboard macro.

Fixes: debbugs:15126
parent 26f98a7d
2013-08-27 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-other-meta-char): Don't store kmacro commands
in the keyboard macro. (Bug#15126)
2013-08-27 Juri Linkov <juri@jurta.org>
* isearch.el (isearch-quote-char): Comment out converting unibyte
......
......@@ -2386,6 +2386,13 @@ Isearch mode."
(isearch-unread-key-sequence keylist)
(setq main-event (car unread-command-events))
;; Don't store special commands in the keyboard macro.
(let (overriding-terminal-local-map)
(when (memq (key-binding key)
'(kmacro-start-macro
kmacro-end-macro kmacro-end-and-call-macro))
(cancel-kbd-macro-events)))
;; If we got a mouse click event, that event contains the
;; window clicked on. maybe it was read with the buffer
;; it was clicked on. If so, that buffer, not the current one,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment