]> git.eshelyaron.com Git - emacs.git/commit
Fix defining keyboard macros in CUA mode
authorEli Zaretskii <eliz@gnu.org>
Wed, 20 Mar 2019 09:21:54 +0000 (11:21 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 20 Mar 2019 09:21:54 +0000 (11:21 +0200)
commitf13d97b4de02586cce49909aa2f3f51fcb5daa5f
treea467b0e89bd82d81a1ece2f94b69872b6312c28e
parent047c1b19353ff58d8cd45935c7b44c911b70e312
Fix defining keyboard macros in CUA mode

* lisp/emulation/cua-base.el (cua--prefix-override-replay):
Push the key to replace wrapped in '(no-record . KEY)', so
that it doesn't get recorded more than once.  (Bug#34901)

* src/keyboard.c (read_char): Handle the '(no-record . KEY)'
event by substituting KEY for it.
(syms_of_keyboard) <no-record>: New DEFSYM.
<unread-command-events>: Update the doc string.

* doc/lispref/commands.texi (Event Input Misc): Document the
'(no-record . EVENT)' form.
doc/lispref/commands.texi
lisp/emulation/cua-base.el
src/keyboard.c