comparison src/coding.c @ 81611:ae42ad5f89e6

(Ffind_operation_coding_system): Docstring improved. (syms_of_coding): Docstring of `file-coding-system-alist' improved.
author Kenichi Handa <handa@m17n.org>
date Tue, 26 Jun 2007 00:25:11 +0000
parents 3d45362f1d38
children 7aa1fc9d679a 0ece58f6e0aa 988f1edc9674
comparison
equal deleted inserted replaced
81610:17b60d2a64ca 81611:ae42ad5f89e6
7462 or `network-coding-system-alist' depending on OPERATION. 7462 or `network-coding-system-alist' depending on OPERATION.
7463 They may specify a coding system, a cons of coding systems, 7463 They may specify a coding system, a cons of coding systems,
7464 or a function symbol to call. 7464 or a function symbol to call.
7465 In the last case, we call the function with one argument, 7465 In the last case, we call the function with one argument,
7466 which is a list of all the arguments given to this function. 7466 which is a list of all the arguments given to this function.
7467 If the function can't decide a coding system, it can return
7468 `undecided' so that the normal code-detection is performed.
7467 7469
7468 If OPERATION is `insert-file-contents', the argument corresponding to 7470 If OPERATION is `insert-file-contents', the argument corresponding to
7469 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a 7471 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a
7470 file name to look up, and BUFFER is a buffer that contains the file's 7472 file name to look up, and BUFFER is a buffer that contains the file's
7471 contents (not yet decoded). If `file-coding-system-alist' specifies a 7473 contents (not yet decoded). If `file-coding-system-alist' specifies a
7965 If VAL is a cons of coding systems, the car part is used for decoding, 7967 If VAL is a cons of coding systems, the car part is used for decoding,
7966 and the cdr part is used for encoding. 7968 and the cdr part is used for encoding.
7967 If VAL is a function symbol, the function must return a coding system 7969 If VAL is a function symbol, the function must return a coding system
7968 or a cons of coding systems which are used as above. The function is 7970 or a cons of coding systems which are used as above. The function is
7969 called with an argument that is a list of the arguments with which 7971 called with an argument that is a list of the arguments with which
7970 `find-operation-coding-system' was called. 7972 `find-operation-coding-system' was called. If the function can't decide
7973 a coding system, it can return `undecided' so that the normal
7974 code-detection is performed.
7971 7975
7972 See also the function `find-operation-coding-system' 7976 See also the function `find-operation-coding-system'
7973 and the variable `auto-coding-alist'. */); 7977 and the variable `auto-coding-alist'. */);
7974 Vfile_coding_system_alist = Qnil; 7978 Vfile_coding_system_alist = Qnil;
7975 7979