]> git.eshelyaron.com Git - emacs.git/commit
Fix key recording bug when an input method is activated
authorGregory Heytings <gregory@heytings.org>
Sat, 15 May 2021 20:15:59 +0000 (20:15 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2021 08:05:33 +0000 (11:05 +0300)
commitbd5c7404195e45f11946b4e0933a1f8b697d8b87
tree71852ee487e69b320e333a3bfd18047ca9de8c20
parent7bbd6b720e60cb5e726214268c5b80a3e23f799e
Fix key recording bug when an input method is activated

* lisp/international/quail.el (quail-add-unread-command-events):
New function.
(quail-start-translation, quail-start-conversion)
(quail-update-translation, quail-next-translation)
(quail-prev-translation, quail-next-translation-block)
(quail-prev-translation-block, quail-minibuffer-message): Use
'quail-add-unread-command-events' (and partly revert commit
03e3440dbb).  (Bug#48042)

* lisp/subr.el (inhibit--record-char): Now obsolete.

* lisp/term/xterm.el (xterm--init): New function, with most of the
code of former 'terminal-init-xterm'.
(terminal-init-xterm): Clear the lossage after terminal
initialization (see Bug#44908).
(xterm--read-event-for-query): Do not use 'inhibit--record-char'
anymore (revert commit 3e6525d69f).

* src/keyboard.c (syms_of_keyboard): Remove 'inhibit--record-char'
(partly revert 03e3440dbb).
(record_char, syms_of_keyboard_for_pdumper): Do not use
'inhibit_record_char anymore'.
lisp/international/quail.el
lisp/subr.el
lisp/term/xterm.el
src/keyboard.c