diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-11-06 23:05:34 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-11-06 23:05:34 +0000 |
commit | 5dd1c041c7fdb876b52bf33f41e8aeb119282cef (patch) | |
tree | 2c4b410406fb52b09883046608419e1f2e143721 /lisp/international | |
parent | c8c9333c69c41cb5605d32d86ef6fa24a8b7afc5 (diff) | |
download | emacs-5dd1c041c7fdb876b52bf33f41e8aeb119282cef.tar.gz |
(make-char): Fix typo in docstring.
(load-with-code-conversion, charsetp): Doc fixes.
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/mule.el | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index cea1a917be5..fe01f0b7e9c 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el @@ -38,10 +38,10 @@ Distribution date of this version of MULE (multilingual environment).") (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 @@ Return t if file exists." (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 @@ Return t if file exists." (< (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 @@ See the function `charset-info' for more detail." 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 @@ cons (CODING . SOURCE), where CODING is the specified coding 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 @@ If nothing is specified, the return value is nil." ;; 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. |