aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2013-08-27 19:06:16 +0300
committerJuri Linkov2013-08-27 19:06:16 +0300
commitbbe558f1959b1cd51428b5fcbf940df515266abc (patch)
tree8dde59d89055669fc1915bb0dc91b902fbba1251
parent26f98a7d3fb2ed8b5bb1befcd8e8507de516db34 (diff)
downloademacs-bbe558f1959b1cd51428b5fcbf940df515266abc.tar.gz
emacs-bbe558f1959b1cd51428b5fcbf940df515266abc.zip
* lisp/isearch.el (isearch-other-meta-char): Don't store kmacro commands
in the keyboard macro. Fixes: debbugs:15126
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el7
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 822d0eaf17f..b8ffbc48471 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12013-08-27 Juri Linkov <juri@jurta.org> 12013-08-27 Juri Linkov <juri@jurta.org>
2 2
3 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4 in the keyboard macro. (Bug#15126)
5
62013-08-27 Juri Linkov <juri@jurta.org>
7
3 * isearch.el (isearch-quote-char): Comment out converting unibyte 8 * isearch.el (isearch-quote-char): Comment out converting unibyte
4 to multibyte, thus syncing with its `quoted-insert' counterpart. 9 to multibyte, thus syncing with its `quoted-insert' counterpart.
5 (Bug#15166) 10 (Bug#15166)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 345e7d8b4e9..32de931954f 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2386,6 +2386,13 @@ Isearch mode."
2386 (isearch-unread-key-sequence keylist) 2386 (isearch-unread-key-sequence keylist)
2387 (setq main-event (car unread-command-events)) 2387 (setq main-event (car unread-command-events))
2388 2388
2389 ;; Don't store special commands in the keyboard macro.
2390 (let (overriding-terminal-local-map)
2391 (when (memq (key-binding key)
2392 '(kmacro-start-macro
2393 kmacro-end-macro kmacro-end-and-call-macro))
2394 (cancel-kbd-macro-events)))
2395
2389 ;; If we got a mouse click event, that event contains the 2396 ;; If we got a mouse click event, that event contains the
2390 ;; window clicked on. maybe it was read with the buffer 2397 ;; window clicked on. maybe it was read with the buffer
2391 ;; it was clicked on. If so, that buffer, not the current one, 2398 ;; it was clicked on. If so, that buffer, not the current one,