2009-04-08 Eli Zaretskii <eliz@gnu.org>
+ * files.el (append-to-file): Doc fix.
+
* term/pc-win.el (msdos-last-help-message): New defvar.
(msdos-show-help): Use it to avoid saving the last message if it
was also a help message (Bug#2895).
(defun append-to-file (start end filename)
"Append the contents of the region to the end of file FILENAME.
When called from a function, expects three arguments,
-START, END and FILENAME. START and END are buffer positions
-saying what text to write."
+START, END and FILENAME. START and END are normally buffer positions
+specifying the part of the buffer to write.
+If START is nil, that means to use the entire buffer contents.
+If START is a string, then output that string to the file
+instead of any buffer contents; END is ignored.
+
+This does character code conversion and applies annotations
+like `write-region' does."
(interactive "r\nFAppend to file: ")
(write-region start end filename t))