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

in the keyboard macro.

Fixes: debbugs:15126
This commit is contained in:
Juri Linkov 2013-08-27 19:06:16 +03:00
parent 26f98a7d3f
commit bbe558f195
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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,