comparison src/coding.c @ 83644:0ece58f6e0aa

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 803-813) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 51-58) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 233-236) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-25
author Miles Bader <miles@gnu.org>
date Sun, 15 Jul 2007 02:05:20 +0000
parents b8d9a391daf3 ae42ad5f89e6
children fd5b4a865d1d
comparison
equal deleted inserted replaced
83643:70b38dec13a1 83644:0ece58f6e0aa
7470 or `network-coding-system-alist' depending on OPERATION. 7470 or `network-coding-system-alist' depending on OPERATION.
7471 They may specify a coding system, a cons of coding systems, 7471 They may specify a coding system, a cons of coding systems,
7472 or a function symbol to call. 7472 or a function symbol to call.
7473 In the last case, we call the function with one argument, 7473 In the last case, we call the function with one argument,
7474 which is a list of all the arguments given to this function. 7474 which is a list of all the arguments given to this function.
7475 If the function can't decide a coding system, it can return
7476 `undecided' so that the normal code-detection is performed.
7475 7477
7476 If OPERATION is `insert-file-contents', the argument corresponding to 7478 If OPERATION is `insert-file-contents', the argument corresponding to
7477 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a 7479 TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a
7478 file name to look up, and BUFFER is a buffer that contains the file's 7480 file name to look up, and BUFFER is a buffer that contains the file's
7479 contents (not yet decoded). If `file-coding-system-alist' specifies a 7481 contents (not yet decoded). If `file-coding-system-alist' specifies a
7971 If VAL is a cons of coding systems, the car part is used for decoding, 7973 If VAL is a cons of coding systems, the car part is used for decoding,
7972 and the cdr part is used for encoding. 7974 and the cdr part is used for encoding.
7973 If VAL is a function symbol, the function must return a coding system 7975 If VAL is a function symbol, the function must return a coding system
7974 or a cons of coding systems which are used as above. The function is 7976 or a cons of coding systems which are used as above. The function is
7975 called with an argument that is a list of the arguments with which 7977 called with an argument that is a list of the arguments with which
7976 `find-operation-coding-system' was called. 7978 `find-operation-coding-system' was called. If the function can't decide
7979 a coding system, it can return `undecided' so that the normal
7980 code-detection is performed.
7977 7981
7978 See also the function `find-operation-coding-system' 7982 See also the function `find-operation-coding-system'
7979 and the variable `auto-coding-alist'. */); 7983 and the variable `auto-coding-alist'. */);
7980 Vfile_coding_system_alist = Qnil; 7984 Vfile_coding_system_alist = Qnil;
7981 7985