aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1997-07-22 23:41:34 +0000
committerRichard M. Stallman1997-07-22 23:41:34 +0000
commit8c453b46a810be3ff5ccb46185f21aea88fb0384 (patch)
tree17ef766e53786684cc5aa4479f8841556c924f03 /lisp
parent7c621f7acdd6f029c657b0cdd121faea35f0467f (diff)
downloademacs-8c453b46a810be3ff5ccb46185f21aea88fb0384.tar.gz
emacs-8c453b46a810be3ff5ccb46185f21aea88fb0384.zip
(modify-coding-system-alist): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/mule.el15
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.
635There are three of such tables, file-coding-system-alist, 635There are three of such tables, `file-coding-system-alist',
636process-coding-system-alist, and network-coding-system-alist. 636`process-coding-system-alist', and `network-coding-system-alist'.
637 637
638TARGET-TYPE specifies which of them to modify. 638TARGET-TYPE specifies which of them to modify.
639If it is `file', it affects file-coding-system-alist (which see). 639If it is `file', it affects `file-coding-system-alist' (which see).
640If it is `process', it affects process-coding-system-alist (which see). 640If it is `process', it affects `process-coding-system-alist' (which see).
641If it is `network', it affects network-codign-system-alist (which see). 641If it is `network', it affects `network-codign-system-alist' (which see).
642 642
643REGEXP is a regular expression matching a target of I/O operation. 643REGEXP is a regular expression matching a target of I/O operation.
644The target is a file name if TARGET-TYPE is `file', a program name if 644The 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
646to connect to if TARGET-TYPE is `network'. 646to connect to if TARGET-TYPE is `network'.
647 647
648CODING-SYSTEM is a coding system to perform code conversion on the I/O 648CODING-SYSTEM is a coding system to perform code conversion on the I/O
649operation, or a cons of coding systems for decoding and encoding 649operation, or a cons cell (DECODING . ENCODING) specifying the coding systems
650respectively, or a function symbol which returns the cons." 650for decoding and encoding respectively,
651or 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)