1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(quail-update-translation): Delete the

code for handling the case that enable-multibyte-characters is
nil.
This commit is contained in:
Kenichi Handa 1998-08-07 05:04:36 +00:00
parent 13c148b8e7
commit df765be4fe

View File

@ -1071,14 +1071,7 @@ The returned value is a Quail map specific to KEY."
(if input-method-exit-on-first-char
(setq control-flag t))
(setq quail-current-str
(substring quail-current-key 0 len)))
(or enable-multibyte-characters
(progn
(if (not (stringp quail-current-str))
(setq quail-current-str
(char-to-string quail-current-str)))
(setq quail-current-str
(string-as-unibyte quail-current-str))))))
(substring quail-current-key 0 len)))))
(if quail-current-str
(if input-method-exit-on-first-char
(setq control-flag t))