# HG changeset patch # User Dave Love # Date 1008689735 0 # Node ID 996e8ae50fc09b85e3b40b5d62f2fc5593c8c885 # Parent 8163dcb4653b090a91ba6c676bf1f7ffb10db94b (quail-input-string-to-events): Don't use string-to-list. diff -r 8163dcb4653b -r 996e8ae50fc0 lisp/international/quail.el --- a/lisp/international/quail.el Tue Dec 18 15:26:51 2001 +0000 +++ b/lisp/international/quail.el Tue Dec 18 15:35:35 2001 +0000 @@ -635,7 +635,7 @@ (defconst quail-keyboard-layout-len 180) ;; Here we provide several examples of famous keyboard layouts. - +;; This is a candidate for a language environment-dependent setting. (defvar quail-keyboard-layout-alist (list (cons "standard" quail-keyboard-layout-standard) @@ -1270,14 +1270,14 @@ Do so while interleaving with the following special events: \(compose-last-chars LEN COMPONENTS) \(quail-advice INPUT-STRING)" - (let* ((events - (mapcar (lambda (c) + (let* ((events (mapcar + (lambda (c) ;; This gives us the chance to unify on input ;; (e.g. using ucs-tables.el). (or (and translation-table-for-input (aref translation-table-for-input c)) c)) - (string-to-list str))) + str)) (len (length str)) (idx len) composition from to)