Commit b5dd9a77 authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix isearch handling of keypad characters with kmacros.

* isearch.el (isearch-other-meta-char): Ensure that a reprocessed
function key is stored in a keyboard macro.

Fixes: debbugs:4894
parent 748b0d84
2012-10-29 Chong Yidong <cyd@gnu.org>
 
* isearch.el (isearch-other-meta-char): Ensure that a reprocessed
function key is stored in a keyboard macro (Bug#4894).
* thingatpt.el (number-at-point): Apply a thing-at-point property.
 
2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -2149,7 +2149,8 @@ Isearch mode."
(setq prefix-arg arg)
(apply 'isearch-unread keylist))
(setq keylist
(listify-key-sequence (lookup-key local-function-key-map key)))
(listify-key-sequence
(lookup-key local-function-key-map key)))
(while keylist
(setq key (car keylist))
;; If KEY is a printing char, we handle it here
......@@ -2158,6 +2159,7 @@ Isearch mode."
(if (and (integerp key)
(>= key ?\s) (/= key 127) (< key 256))
(progn
(store-kbd-macro-event key)
(isearch-process-search-char key)
(setq keylist (cdr keylist)))
;; As the remaining keys in KEYLIST can't be handled
......
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