# HG changeset patch # User Juanma Barranquero # Date 1162854334 0 # Node ID 223a7f633c49c216cec0c106d36bd4e8bf41004e # Parent 08832c29ccc514f0b3c5c1626f5fbf5a1100ae41 (make-char): Fix typo in docstring. (load-with-code-conversion, charsetp): Doc fixes. diff -r 08832c29ccc5 -r 223a7f633c49 lisp/international/mule.el --- a/lisp/international/mule.el Mon Nov 06 22:37:30 2006 +0000 +++ b/lisp/international/mule.el Mon Nov 06 23:05:34 2006 +0000 @@ -38,10 +38,10 @@ (defun load-with-code-conversion (fullname file &optional noerror nomessage) "Execute a file of Lisp code named FILE whose absolute name is FULLNAME. The file contents are decoded before evaluation if necessary. -If optional second arg NOERROR is non-nil, +If optional third arg NOERROR is non-nil, report no error if FILE doesn't exist. Print messages at start and end of loading unless - optional third arg NOMESSAGE is non-nil. + optional fourth arg NOMESSAGE is non-nil. Return t if file exists." (if (null (file-readable-p fullname)) (and (null noerror) @@ -100,7 +100,7 @@ (kill-buffer buffer))) (unless purify-flag (do-after-load-evaluation fullname)) - + (unless (or nomessage noninteractive) (if source (message "Loading %s (source)...done" file) @@ -118,7 +118,7 @@ (< (aref vector 0) 160))))) (defsubst charsetp (object) - "T if OBJECT is a charset." + "Return t if OBJECT is a charset." (and (symbolp object) (vectorp (get object 'charset)))) (defsubst charset-info (charset) @@ -268,7 +268,7 @@ 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 set. -A generic character can be used to index a char table (e.g. syntax-table). +A generic character can be used to index a char table (e.g. `syntax-table'). Such character sets as ascii, eight-bit-control, and eight-bit-graphic don't have corresponding generic characters. If CHARSET is one of @@ -1676,8 +1676,7 @@ system and SOURCE is a symbol `auto-coding-alist', `auto-coding-regexp-alist', `coding:', or `auto-coding-functions' indicating by what CODING is specified. Note that the validity -of CODING is not checked; it's callers responsibility to check -it. +of CODING is not checked; it's callers responsibility to check it. If nothing is specified, the return value is nil." (or (let ((coding-system (auto-coding-alist-lookup filename))) @@ -1698,7 +1697,7 @@ ;; and for "unibyte:" at the head and tail of SIZE bytes. (setq head-found (or (search-forward "coding:" head-end t) (search-forward "unibyte:" head-end t) - (search-forward "enable-character-translation:" + (search-forward "enable-character-translation:" head-end t))) (if (and head-found (> head-found tail-start)) ;; Head and tail are overlapped.