aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-07-09 14:17:12 +0300
committerEli Zaretskii2016-07-09 14:17:12 +0300
commitd6aa4da832712a720f9a85e850af1206c6f070bc (patch)
treebffe7389ebba7823c9824044b25c5f89163c7980
parent03bcf116fbed55fd36015441e8f6f86c7d1adef6 (diff)
downloademacs-d6aa4da832712a720f9a85e850af1206c6f070bc.tar.gz
emacs-d6aa4da832712a720f9a85e850af1206c6f070bc.zip
Clarify doc string of 'save-buffer'
* lisp/files.el (save-buffer): Clarify that backups might not be made even if this command is invoked with 2 or 3 "C-u"s. (Bug#3702)
-rw-r--r--lisp/files.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 1f97fa5f52f..fa630731b8d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4637,14 +4637,20 @@ By default, makes the previous version into a backup file
4637Prefixed with one \\[universal-argument], marks this version 4637Prefixed with one \\[universal-argument], marks this version
4638 to become a backup when the next save is done. 4638 to become a backup when the next save is done.
4639Prefixed with two \\[universal-argument]'s, 4639Prefixed with two \\[universal-argument]'s,
4640 unconditionally makes the previous version into a backup file. 4640 makes the previous version into a backup file.
4641Prefixed with three \\[universal-argument]'s, marks this version 4641Prefixed with three \\[universal-argument]'s, marks this version
4642 to become a backup when the next save is done, 4642 to become a backup when the next save is done,
4643 and unconditionally makes the previous version into a backup file. 4643 and makes the previous version into a backup file.
4644 4644
4645With a numeric prefix argument of 0, never make the previous version 4645With a numeric prefix argument of 0, never make the previous version
4646into a backup file. 4646into a backup file.
4647 4647
4648Note that the various variables that control backups, such
4649as `version-control', `backup-enable-predicate', `vc-make-backup-files',
4650and `backup-inhibited', to name just the more popular ones, still
4651control whether a backup will actually be produced, even when you
4652invoke this command prefixed with two or three \\[universal-argument]'s.
4653
4648If a file's name is FOO, the names of its numbered backup versions are 4654If a file's name is FOO, the names of its numbered backup versions are
4649 FOO.~i~ for various integers i. A non-numbered backup file is called FOO~. 4655 FOO.~i~ for various integers i. A non-numbered backup file is called FOO~.
4650Numeric backups (rather than FOO~) will be made if value of 4656Numeric backups (rather than FOO~) will be made if value of