Mercurial > emacs
changeset 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 | 17b60d2a64ca |
children | f140d0549c3d |
files | src/coding.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Mon Jun 25 20:55:56 2007 +0000 +++ b/src/coding.c Tue Jun 26 00:25:11 2007 +0000 @@ -7464,6 +7464,8 @@ or a function symbol to call. In the last case, we call the function with one argument, which is a list of all the arguments given to this function. +If the function can't decide a coding system, it can return +`undecided' so that the normal code-detection is performed. If OPERATION is `insert-file-contents', the argument corresponding to TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a @@ -7967,7 +7969,9 @@ If VAL is a function symbol, the function must return a coding system or a cons of coding systems which are used as above. The function is called with an argument that is a list of the arguments with which -`find-operation-coding-system' was called. +`find-operation-coding-system' was called. If the function can't decide +a coding system, it can return `undecided' so that the normal +code-detection is performed. See also the function `find-operation-coding-system' and the variable `auto-coding-alist'. */);