[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: save-buffers documentation
From: |
Aaron Hawley |
Subject: |
Re: save-buffers documentation |
Date: |
Thu, 17 Mar 2005 11:52:38 -0500 |
Here's another revision of the patch that uses instead "Prefixed with",
for consistency with other GNU Emacs doc-strings. enjoy. /a
===File ~/gnu/files.el-save_buffer_doc_string.diff==========
--- files.el.~1.745.~ 2005-02-09 10:50:42.000000000 -0500
+++ files.el 2005-03-17 11:28:05.000000000 -0500
@@ -3102,18 +3102,20 @@
ancestor))))))
(defun save-buffer (&optional args)
- "Save current buffer in visited file if modified. Versions described below.
+ "Save current buffer in visited file if modified. Variations
+ are described below.
By default, makes the previous version into a backup file
if previously requested or if this is the first save.
-With 1 \\[universal-argument], marks this version
+Prefixed with one \\[universal-argument], marks this version
to become a backup when the next save is done.
-With 2 \\[universal-argument]'s,
+Prefixed with two \\[universal-argument]'s,
unconditionally makes the previous version into a backup file.
-With 3 \\[universal-argument]'s, marks this version
+Prefixed with three \\[universal-argument]'s, marks this version
to become a backup when the next save is done,
and unconditionally makes the previous version into a backup file.
-With argument of 0, never make the previous version into a backup file.
+With prefix argument of 0, never make the previous version into a
+ backup file.
If a file's name is FOO, the names of its numbered backup versions are
FOO.~i~ for various integers i. A non-numbered backup file is called FOO~.
============================================================