[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/dos-w32.el,v [EMACS_22_BASE]
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/dos-w32.el,v [EMACS_22_BASE] |
Date: |
Tue, 22 May 2007 11:20:16 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Eli Zaretskii <eliz> 07/05/22 11:20:16
Index: dos-w32.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/dos-w32.el,v
retrieving revision 1.45
retrieving revision 1.45.2.1
diff -u -b -r1.45 -r1.45.2.1
--- dos-w32.el 10 Apr 2007 04:05:10 -0000 1.45
+++ dos-w32.el 22 May 2007 11:20:16 -0000 1.45.2.1
@@ -92,7 +92,7 @@
(defun find-buffer-file-type-coding-system (command)
"Choose a coding system for a file operation in COMMAND.
-COMMAND is a list that specifies the operation, and I/O primitive as its
+COMMAND is a list that specifies the operation, an I/O primitive, as its
CAR, and the arguments that might be given to that operation as its CDR.
If operation is `insert-file-contents', the coding system is chosen based
upon the filename (the CAR of the arguments beyond the operation), the contents
@@ -109,6 +109,10 @@
If the file exists: `undecided'
If the file does not exist: default-buffer-file-coding-system
+Note that the CAR of arguments to `insert-file-contents' operation could
+be a cons cell of the form \(FILENAME . BUFFER\), where BUFFER is a buffer
+into which the file's contents were already read, but not yet decoded.
+
If operation is `write-region', the coding system is chosen based upon
the value of `buffer-file-coding-system' and `buffer-file-type'. If
`buffer-file-coding-system' is non-nil, its value is used. If it is
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/dos-w32.el,v [EMACS_22_BASE],
Eli Zaretskii <=