summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-03-02 11:57:50 +0000
committerEli Zaretskii <eliz@gnu.org>2002-03-02 11:57:50 +0000
commit31a6cb0651751d8f208cb56bc0f33e7e5510bd9f (patch)
tree4d7226d384bc25bbaf43c84b6dead87bfc159b2f
parente96c5c69c2b117db432f1adb8929754777e628cf (diff)
downloademacs-31a6cb0651751d8f208cb56bc0f33e7e5510bd9f.tar.gz
(syms_of_buffer) <buffer-file-coding-system>: Doc fix.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/buffer.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index afd17cfcd91..5fa11141b58 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-02 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix.
+
2002-03-02 Kim F. Storm <storm@cua.dk>
* window.c (Fminibuffer_selected_window): New function.
diff --git a/src/buffer.c b/src/buffer.c
index 49f8f346012..8cd8de487c2 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5279,6 +5279,9 @@ If this is nil, the buffer is saved without any code conversion
unless some coding system is specified in `file-coding-system-alist'
for the buffer file.
+If the text to be saved cannot be encoded as specified by this variable,
+an alternative encoding is selected by `select-safe-coding-system', which see.
+
The variable `coding-system-for-write', if non-nil, overrides this variable.
This variable is never applied to a way of decoding a file while reading it. */);