aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-01-22 01:42:20 +0000
committerKenichi Handa1998-01-22 01:42:20 +0000
commit0691ad6147a2833f8533cb174dfe8b5b342f9248 (patch)
tree6997fb24d64e870d0488eddf6bd4f6dbb2a0cebc
parentdbea67664441f3eb5ff13279d6f5459741cf8032 (diff)
downloademacs-0691ad6147a2833f8533cb174dfe8b5b342f9248.tar.gz
emacs-0691ad6147a2833f8533cb174dfe8b5b342f9248.zip
(describe-coding-system): Change the
format of showing safe charsets.
-rw-r--r--lisp/international/mule-diag.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 5c8878f2f5a..a63781174ef 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -215,12 +215,14 @@ but contains full information about each character sets."
215 (princ "\n"))) 215 (princ "\n")))
216 (let ((charsets (coding-system-get coding-system 'safe-charsets))) 216 (let ((charsets (coding-system-get coding-system 'safe-charsets)))
217 (when charsets 217 (when charsets
218 (princ "This coding system is mainly for the following charsets:\n") 218 (if (eq charsets t)
219 (princ " ") 219 (princ "This coding system can encode charsets:\n")
220 (while charsets 220 (princ "This coding system encode the following charsets:\n")
221 (princ " ") 221 (princ " ")
222 (princ (car charsets)) 222 (while charsets
223 (setq charsets (cdr charsets))))) 223 (princ " ")
224 (princ (car charsets))
225 (setq charsets (cdr charsets))))))
224 (save-excursion 226 (save-excursion
225 (set-buffer standard-output) 227 (set-buffer standard-output)
226 (help-mode))))) 228 (help-mode)))))