comparison src/coding.c @ 90979:988f1edc9674

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 803-805) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
author Miles Bader <miles@gnu.org>
date Mon, 09 Jul 2007 08:00:55 +0000
parents 3c52757d5f6e ae42ad5f89e6
children 492971a3f31f
comparison
equal deleted inserted replaced
90978:f866074aedc4 90979:988f1edc9674
8388 or `network-coding-system-alist' depending on OPERATION. 8388 or `network-coding-system-alist' depending on OPERATION.
8389 They may specify a coding system, a cons of coding systems, 8389 They may specify a coding system, a cons of coding systems,
8390 or a function symbol to call. 8390 or a function symbol to call.
8391 In the last case, we call the function with one argument, 8391 In the last case, we call the function with one argument,
8392 which is a list of all the arguments given to this function. 8392 which is a list of all the arguments given to this function.
8393 If the function can't decide a coding system, it can return
8394 `undecided' so that the normal code-detection is performed.
8393 8395
8394 If OPERATION is `insert-file-contents', the argument corresponding to 8396 If OPERATION is `insert-file-contents', the argument corresponding to
8395 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a 8397 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a
8396 file name to look up, and BUFFER is a buffer that contains the file's 8398 file name to look up, and BUFFER is a buffer that contains the file's
8397 contents (not yet decoded). If `file-coding-system-alist' specifies a 8399 contents (not yet decoded). If `file-coding-system-alist' specifies a
9611 If VAL is a coding system, it is used for both decoding and encoding 9613 If VAL is a coding system, it is used for both decoding and encoding
9612 the file contents. 9614 the file contents.
9613 If VAL is a cons of coding systems, the car part is used for decoding, 9615 If VAL is a cons of coding systems, the car part is used for decoding,
9614 and the cdr part is used for encoding. 9616 and the cdr part is used for encoding.
9615 If VAL is a function symbol, the function must return a coding system 9617 If VAL is a function symbol, the function must return a coding system
9616 or a cons of coding systems which are used as above. The function gets 9618 or a cons of coding systems which are used as above. The function is
9617 the arguments with which `find-operation-coding-systems' was called. 9619 called with an argument that is a list of the arguments with which
9620 `find-operation-coding-system' was called. If the function can't decide
9621 a coding system, it can return `undecided' so that the normal
9622 code-detection is performed.
9618 9623
9619 See also the function `find-operation-coding-system' 9624 See also the function `find-operation-coding-system'
9620 and the variable `auto-coding-alist'. */); 9625 and the variable `auto-coding-alist'. */);
9621 Vfile_coding_system_alist = Qnil; 9626 Vfile_coding_system_alist = Qnil;
9622 9627