diff options
| author | Miles Bader <miles@gnu.org> | 2007-07-09 08:00:55 +0000 |
|---|---|---|
| committer | Miles Bader <miles@gnu.org> | 2007-07-09 08:00:55 +0000 |
| commit | 1011c48763982d02797a7058556d29f639f6efca (patch) | |
| tree | 5f1b7529b4cc483b73475b89245633c5848b8a5e /src/coding.c | |
| parent | 6f06dac7b57b8d73f4b26a855cd9862630192029 (diff) | |
| parent | 69e4c7c4bacf19e9e004605fcb1c067e478beffe (diff) | |
| download | emacs-1011c48763982d02797a7058556d29f639f6efca.tar.gz | |
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
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index e7ff19f3929..e4ecbf50f62 100644 --- a/src/coding.c +++ b/src/coding.c @@ -8390,6 +8390,8 @@ They may specify a coding system, a cons of coding systems, 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 @@ the file contents. 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'. */); |
