aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2002-05-17 16:09:58 +0000
committerDave Love2002-05-17 16:09:58 +0000
commit2a7f9cca1c5b15d43d3c103bf124f1aac0361846 (patch)
treef2ef33acf8dbb50b7753b804fba65751c88bc7ed
parent205a973c0568dc70c846c335255a5c254f13fc54 (diff)
downloademacs-2a7f9cca1c5b15d43d3c103bf124f1aac0361846.tar.gz
emacs-2a7f9cca1c5b15d43d3c103bf124f1aac0361846.zip
(list-character-sets): Doc fix.
(list-block-of-chars): Trap invalid args of make-char.
-rw-r--r--lisp/international/mule-diag.el17
1 files changed, 5 insertions, 12 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 3121f428240..de993627374 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -63,15 +63,6 @@
63(defun list-character-sets (arg) 63(defun list-character-sets (arg)
64 "Display a list of all character sets. 64 "Display a list of all character sets.
65 65
66The ID-NUM column contains a charset identification number for
67internal Emacs use.
68
69The MULTIBYTE-FORM column contains the format of the buffer and string
70multibyte sequence of characters in the charset using one to four
71hexadecimal digits.
72 `xx' stands for any byte in the range 0..127.
73 `XX' stands for any byte in the range 160..255.
74
75The D column contains the dimension of this character set. The CH 66The D column contains the dimension of this character set. The CH
76column contains the number of characters in a block of this character 67column contains the number of characters in a block of this character
77set. The FINAL-CHAR column contains an ISO-2022 <final-char> to use 68set. The FINAL-CHAR column contains an ISO-2022 <final-char> to use
@@ -263,9 +254,11 @@ detailed meanings of these arguments."
263 (setq ch (cond ((< i min) 254 (setq ch (cond ((< i min)
264 32) 255 32)
265 ((charsetp charset) 256 ((charsetp charset)
266 (if (= row 0) 257 (condition-case nil
267 (make-char charset i) 258 (if (= row 0)
268 (make-char charset row i))) 259 (make-char charset i)
260 (make-char charset row i))
261 (error 32))) ; gap in mapping
269 ((and (symbolp charset) (get charset 'translation-table)) 262 ((and (symbolp charset) (get charset 'translation-table))
270 (aref (get charset 'translation-table) i)) 263 (aref (get charset 'translation-table) i))
271 (t (funcall charset (+ (* row 256) i))))) 264 (t (funcall charset (+ (* row 256) i)))))