Mercurial > emacs
changeset 18913:7333c3179621
(modify-coding-system-alist): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 22 Jul 1997 23:41:34 +0000 |
parents | d6d9a466fad2 |
children | f9d2d84a004c |
files | lisp/international/mule.el |
diffstat | 1 files changed, 8 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule.el Tue Jul 22 21:49:49 1997 +0000 +++ b/lisp/international/mule.el Tue Jul 22 23:41:34 1997 +0000 @@ -632,13 +632,13 @@ (defun modify-coding-system-alist (target-type regexp coding-system) "Modify one of look up tables for finding a coding system on I/O operation. -There are three of such tables, file-coding-system-alist, -process-coding-system-alist, and network-coding-system-alist. +There are three of such tables, `file-coding-system-alist', +`process-coding-system-alist', and `network-coding-system-alist'. TARGET-TYPE specifies which of them to modify. -If it is `file', it affects file-coding-system-alist (which see). -If it is `process', it affects process-coding-system-alist (which see). -If it is `network', it affects network-codign-system-alist (which see). +If it is `file', it affects `file-coding-system-alist' (which see). +If it is `process', it affects `process-coding-system-alist' (which see). +If it is `network', it affects `network-codign-system-alist' (which see). REGEXP is a regular expression matching a target of I/O operation. The target is a file name if TARGET-TYPE is `file', a program name if @@ -646,8 +646,9 @@ to connect to if TARGET-TYPE is `network'. CODING-SYSTEM is a coding system to perform code conversion on the I/O -operation, or a cons of coding systems for decoding and encoding -respectively, or a function symbol which returns the cons." +operation, or a cons cell (DECODING . ENCODING) specifying the coding systems +for decoding and encoding respectively, +or a function symbol which, when called, returns such a cons cell." (or (memq target-type '(file process network)) (error "Invalid target type: %s" target-type)) (or (stringp regexp)