# HG changeset patch # User Kenichi Handa # Date 858726987 0 # Node ID 3e54eb2d2a5780f367b6c4d10b4e693e1c23d006 # Parent 9c1191812679faed85c98510b53e05e032b8d4cc (make-char): Documented. (charset-plist): Return quoted list even if CHARSET is supplied by symbol. diff -r 9c1191812679 -r 3e54eb2d2a57 lisp/international/mule.el --- a/lisp/international/mule.el Tue Mar 18 23:16:27 1997 +0000 +++ b/lisp/international/mule.el Tue Mar 18 23:16:27 1997 +0000 @@ -184,13 +184,19 @@ (defmacro charset-plist (charset) (if (quoted-symbol-p charset) - (aref (charset-info (nth 1 charset)) 14) + `(aref ,(charset-info (nth 1 charset)) 14) `(aref (charset-info ,charset) 14))) (defun set-charset-plist (charset plist) (aset (charset-info charset) 14 plist)) (defmacro make-char (charset &optional c1 c2) + "Return a character of CHARSET and position-codes CODE1 and CODE2. +CODE1 and CODE2 are optional, but if you don't supply + sufficient position-codes, return a generic character which stands for +all characters or group of characters in the character sets. +A generic character can be an argument of `modify-syntax-entry' and +`modify-category-entry'." (if (quoted-symbol-p charset) `(make-char-internal ,(charset-id (nth 1 charset)) ,c1 ,c2) `(make-char-internal (charset-id ,charset) ,c1 ,c2)))