1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(read-language-name): Take of non-list values.

This commit is contained in:
Pavel Janík 2002-04-27 22:34:06 +00:00
parent c793c600a0
commit ca429a2557
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-28 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* international/mule-cmds.el (read-language-name): Take of
non-list values.
2002-04-27 Richard M. Stallman <rms@gnu.org>
* info.el (Info-header-line): Mark it as risky-local-variable.

View File

@ -887,7 +887,7 @@ This returns a language environment name as a string."
(name (completing-read prompt
language-info-alist
(and key
(function (lambda (elm) (assq key elm))))
(function (lambda (elm) (and (listp elm) (assq key elm)))))
t nil nil default)))
(if (and (> (length name) 0)
(or (not key)