current-language-environment to the correct string.
+2003-07-11 Kenichi Handa <handa@m17n.org>
+
+ * international/mule-cmds.el (set-language-environment): Set
+ current-language-environment to the correct string.
+
2003-07-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* ps-print.el: Print line number correctly in a region. Reported by
(if (symbolp language-name)
(setq language-name (symbol-name language-name)))
(setq language-name "English"))
- (or (assoc-ignore-case language-name language-info-alist)
+ (let ((slot (assoc-ignore-case language-name language-info-alist)))
+ (unless slot
(error "Language environment not defined: %S" language-name))
+ (setq language-name (car slot)))
(if current-language-environment
(let ((func (get-language-info current-language-environment
'exit-function)))