Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/coding.c Sun Jul 08 18:09:12 2007 +0000 +++ b/src/coding.c Mon Jul 09 08:00:55 2007 +0000 @@ -8390,6 +8390,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 @@ -9613,8 +9615,11 @@ If VAL is a cons of coding systems, the car part is used for decoding, and the cdr part is used for encoding. 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 gets -the arguments with which `find-operation-coding-systems' was called. +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. 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'. */);
