Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6903229c
Commit
6903229c
authored
May 22, 2007
by
Eli Zaretskii
Browse files
(find-buffer-file-type-coding-system): Doc fix.
parent
c81036c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/dos-w32.el
lisp/dos-w32.el
+5
-1
No files found.
lisp/ChangeLog
View file @
6903229c
2007-05-22 Eli Zaretskii <eliz@gnu.org>
* dos-w32.el (find-buffer-file-type-coding-system): Doc fix.
2007-05-21 Trent Buck <trentbuck@gmail.com> (tiny change)
* net/rcirc.el (rcirc-fill-column): Allow `window-width'.
lisp/dos-w32.el
View file @
6903229c
...
...
@@ -92,7 +92,7 @@ against the file name, and TYPE is nil for text, t for binary.")
(
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, an
d
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 @@ and whether the file exists:
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment