Mercurial > emacs
changeset 71042:e4fb6bb5e7e5
(find-operation-coding-system): Describe the new
argument format (FILENAME . BUFFER).
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 29 May 2006 01:23:38 +0000 |
parents | 8aeb086972ae |
children | aabd8a623e0c |
files | lispref/nonascii.texi |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/nonascii.texi Mon May 29 01:05:24 2006 +0000 +++ b/lispref/nonascii.texi Mon May 29 01:23:38 2006 +0000 @@ -1116,6 +1116,14 @@ Depending on @var{operation}, this function looks up the target in @code{file-coding-system-alist}, @code{process-coding-system-alist}, or @code{network-coding-system-alist}. + +If @var{operation} is @code{insert-file-contents}, the argument +corresponding to the target may be a cons cell of the form +@code{(@var{filename} . @code{buffer})}). In that case, +@code{filename} is a file name to look up, and @code{buffer} is a +buffer that already contains the file (but not yet decoded). A +function specified in @code{file-coding-system-alist} must pay +attention to this format of the target. @end defun @node Specifying Coding Systems