diff options
| author | Richard M. Stallman | 1997-07-22 23:41:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-22 23:41:34 +0000 |
| commit | 8c453b46a810be3ff5ccb46185f21aea88fb0384 (patch) | |
| tree | 17ef766e53786684cc5aa4479f8841556c924f03 /lisp | |
| parent | 7c621f7acdd6f029c657b0cdd121faea35f0467f (diff) | |
| download | emacs-8c453b46a810be3ff5ccb46185f21aea88fb0384.tar.gz emacs-8c453b46a810be3ff5ccb46185f21aea88fb0384.zip | |
(modify-coding-system-alist): Doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/international/mule.el | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index e1381488ef8..ab2af2cfe1f 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -632,13 +632,13 @@ Return nil if there's no need of setting new buffer-file-coding-system." | |||
| 632 | 632 | ||
| 633 | (defun modify-coding-system-alist (target-type regexp coding-system) | 633 | (defun modify-coding-system-alist (target-type regexp coding-system) |
| 634 | "Modify one of look up tables for finding a coding system on I/O operation. | 634 | "Modify one of look up tables for finding a coding system on I/O operation. |
| 635 | There are three of such tables, file-coding-system-alist, | 635 | There are three of such tables, `file-coding-system-alist', |
| 636 | process-coding-system-alist, and network-coding-system-alist. | 636 | `process-coding-system-alist', and `network-coding-system-alist'. |
| 637 | 637 | ||
| 638 | TARGET-TYPE specifies which of them to modify. | 638 | TARGET-TYPE specifies which of them to modify. |
| 639 | If it is `file', it affects file-coding-system-alist (which see). | 639 | If it is `file', it affects `file-coding-system-alist' (which see). |
| 640 | If it is `process', it affects process-coding-system-alist (which see). | 640 | If it is `process', it affects `process-coding-system-alist' (which see). |
| 641 | If it is `network', it affects network-codign-system-alist (which see). | 641 | If it is `network', it affects `network-codign-system-alist' (which see). |
| 642 | 642 | ||
| 643 | REGEXP is a regular expression matching a target of I/O operation. | 643 | REGEXP is a regular expression matching a target of I/O operation. |
| 644 | The target is a file name if TARGET-TYPE is `file', a program name if | 644 | The target is a file name if TARGET-TYPE is `file', a program name if |
| @@ -646,8 +646,9 @@ TARGET-TYPE is `process', or a network service name or a port number | |||
| 646 | to connect to if TARGET-TYPE is `network'. | 646 | to connect to if TARGET-TYPE is `network'. |
| 647 | 647 | ||
| 648 | CODING-SYSTEM is a coding system to perform code conversion on the I/O | 648 | CODING-SYSTEM is a coding system to perform code conversion on the I/O |
| 649 | operation, or a cons of coding systems for decoding and encoding | 649 | operation, or a cons cell (DECODING . ENCODING) specifying the coding systems |
| 650 | respectively, or a function symbol which returns the cons." | 650 | for decoding and encoding respectively, |
| 651 | or a function symbol which, when called, returns such a cons cell." | ||
| 651 | (or (memq target-type '(file process network)) | 652 | (or (memq target-type '(file process network)) |
| 652 | (error "Invalid target type: %s" target-type)) | 653 | (error "Invalid target type: %s" target-type)) |
| 653 | (or (stringp regexp) | 654 | (or (stringp regexp) |