]> code.delx.au - gnu-emacs/blobdiff - lisp/international/quail.el
; Do not overwrite preexisting contents of unread-command-events
[gnu-emacs] / lisp / international / quail.el
index 90a540aae304b793d8149cf45b00d2011cf54180..f60af4ab9b6d6ceb134b084083c162011fe06160 100644 (file)
@@ -1415,7 +1415,8 @@ Return the input string."
              ;; KEYSEQ is not defined in the translation keymap.
              ;; Let's return the event(s) to the caller.
              (setq unread-command-events
-                   (string-to-list (this-single-command-raw-keys)))
+                   (append (this-single-command-raw-keys)
+                            unread-command-events))
              (setq quail-translating nil))))
        (quail-delete-region)
        quail-current-str)
@@ -1491,7 +1492,8 @@ Return the input string."
              ;; KEYSEQ is not defined in the conversion keymap.
              ;; Let's return the event(s) to the caller.
              (setq unread-command-events
-                   (string-to-list (this-single-command-raw-keys)))
+                   (append (this-single-command-raw-keys)
+                            unread-command-events))
              (setq quail-converting nil))))
        (setq quail-translating nil)
        (if (overlay-start quail-conv-overlay)