mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(kmacro-bind-to-key): Avoid comparisons on function keys.
This commit is contained in:
parent
0e01e4afb9
commit
be3eb6a622
2 changed files with 5 additions and 2 deletions
|
|
@ -795,8 +795,9 @@ may be shaded by a local key binding."
|
|||
ok cmd)
|
||||
(when (= (length key-seq) 1)
|
||||
(let ((ch (aref key-seq 0)))
|
||||
(if (or (and (>= ch ?0) (<= ch ?9))
|
||||
(and (>= ch ?A) (<= ch ?Z)))
|
||||
(if (and (integerp ch)
|
||||
(or (and (>= ch ?0) (<= ch ?9))
|
||||
(and (>= ch ?A) (<= ch ?Z))))
|
||||
(setq key-seq (concat "\C-x\C-k" key-seq)
|
||||
ok t))))
|
||||
(when (and (not (equal key-seq ""))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue