diff options
| author | Miles Bader | 2006-06-07 18:05:10 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-06-07 18:05:10 +0000 |
| commit | b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb (patch) | |
| tree | de3804210a8cd955e0d3b9abc15679480930bc82 /src/coding.c | |
| parent | 885b7d0991bd4b4b8f4bd1d3cd21c18a697bbce2 (diff) | |
| parent | 26c9afc3239e18b03537faaea33e3e82e28099e6 (diff) | |
| download | emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.tar.gz emacs-b883cdb2fefa8ea9c3b0d82eba7a9ee792f871bb.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 285-296)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: admin/FOR-RELEASE: Update refcard section.
* gnus--rel--5.10 (patch 102-104)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index debb2f27ffc..9f95c2c6777 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -8315,7 +8315,7 @@ is selected as the TARGET. For example, if OPERATION does file I/O, | |||
| 8315 | whichever argument specifies the file name is TARGET. | 8315 | whichever argument specifies the file name is TARGET. |
| 8316 | 8316 | ||
| 8317 | TARGET has a meaning which depends on OPERATION: | 8317 | TARGET has a meaning which depends on OPERATION: |
| 8318 | For file I/O, TARGET is a file name. | 8318 | For file I/O, TARGET is a file name (except for the special case below). |
| 8319 | For process I/O, TARGET is a process name. | 8319 | For process I/O, TARGET is a process name. |
| 8320 | For network I/O, TARGET is a service name or a port number | 8320 | For network I/O, TARGET is a service name or a port number |
| 8321 | 8321 | ||
| @@ -8327,6 +8327,13 @@ or a function symbol to call. | |||
| 8327 | In the last case, we call the function with one argument, | 8327 | In the last case, we call the function with one argument, |
| 8328 | which is a list of all the arguments given to this function. | 8328 | which is a list of all the arguments given to this function. |
| 8329 | 8329 | ||
| 8330 | If OPERATION is `insert-file-contents', the argument corresponding to | ||
| 8331 | TARGET may be a cons (FILENAME . BUFFER). In that case, FILENAME is a | ||
| 8332 | file name to look up, and BUFFER is a buffer that contains the file's | ||
| 8333 | contents (not yet decoded). If `file-coding-system-alist' specifies a | ||
| 8334 | function to call for FILENAME, that function should examine the | ||
| 8335 | contents of BUFFER instead of reading the file. | ||
| 8336 | |||
| 8330 | usage: (find-operation-coding-system OPERATION ARGUMENTS ...) */) | 8337 | usage: (find-operation-coding-system OPERATION ARGUMENTS ...) */) |
| 8331 | (nargs, args) | 8338 | (nargs, args) |
| 8332 | int nargs; | 8339 | int nargs; |
| @@ -8380,7 +8387,7 @@ usage: (find-operation-coding-system OPERATION ARGUMENTS ...) */) | |||
| 8380 | return Fcons (val, val); | 8387 | return Fcons (val, val); |
| 8381 | if (! NILP (Ffboundp (val))) | 8388 | if (! NILP (Ffboundp (val))) |
| 8382 | { | 8389 | { |
| 8383 | val = call1 (val, Flist (nargs, args)); | 8390 | val = safe_call1 (val, Flist (nargs, args)); |
| 8384 | if (CONSP (val)) | 8391 | if (CONSP (val)) |
| 8385 | return val; | 8392 | return val; |
| 8386 | if (SYMBOLP (val) && ! NILP (Fcoding_system_p (val))) | 8393 | if (SYMBOLP (val) && ! NILP (Fcoding_system_p (val))) |