aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2000-12-07 10:55:39 +0000
committerKenichi Handa <[email protected]>2000-12-07 10:55:39 +0000
commit2fa7e20272ab26a661d5842cdeebc290eaaee5c4 (patch)
tree1d1b9877a98c8d016e0ec3221c8ca47a1992d78c
parentffbaa12258e46932be65a801321cbbb3b59081b5 (diff)
(describe-language-environment): Fix
for the case that an input method title is not string but a list.
-rw-r--r--lisp/international/mule-cmds.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index c5ce71f2a0..9a648f53a3 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1532,7 +1532,11 @@ of buffer-file-coding-system set by this function."
(help-xref-button 0 #'describe-input-method (car (car l))
"mouse-2, RET: describe this input method")
(goto-char (point-max))
- (insert " (\"" (nth 3 (car l)) "\" in mode line)\n"))
+ (insert " (\""
+ (if (stringp (nth 3 (car l)))
+ (nth 3 (car l))
+ (car (nth 3 (car l))))
+ "\" in mode line)\n"))
(setq l (cdr l)))
(insert "\n"))
(insert "Character sets:\n")