[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e77b8d8 3/9: Move doc of backup-directory-alist to
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master e77b8d8 3/9: Move doc of backup-directory-alist to the Backup node |
Date: |
Sat, 30 Apr 2016 15:31:16 +0000 |
branch: master
commit e77b8d84b4161f2cf8720dec2bf44a3e50134398
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Move doc of backup-directory-alist to the Backup node
* doc/emacs/files.texi (Backup): Move the documentation of
`backup-directory-alist' here from the "Single or Numbered
Backups" node, because it doesn't seem to have much to do with
numbering (bug#18692).
---
doc/emacs/files.texi | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index bbb6070..af9d4d5 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -522,6 +522,18 @@ a new backup file. @kbd{C-u C-u C-u C-x C-s} does both
things: it
makes a backup from the previous contents, and arranges to make
another from the newly saved contents if you save again.
address@hidden backup-directory-alist
+ You can customize the variable @code{backup-directory-alist} to
+specify that files matching certain patterns should be backed up in
+specific directories. A typical use is to add an element @code{("."
+. @var{dir})} to make all backups in the directory with absolute name
address@hidden Emacs modifies the backup file names to avoid clashes
+between files with the same names originating in different
+directories. Alternatively, adding, @code{("." . ".~")} would make
+backups in the invisible subdirectory @file{.~} of the original file's
+directory. Emacs creates the directory, if necessary, to make the
+backup.
+
@menu
* Names: Backup Names. How backup files are named.
* Deletion: Backup Deletion. Emacs deletes excess numbered backups.
@@ -585,19 +597,6 @@ value is @samp{nil} or @samp{existing}, then
@code{version-control}
becomes @code{nil}; if it is @samp{never} or @samp{simple}, then
@code{version-control} becomes @code{never}.
address@hidden backup-directory-alist
- You can customize the variable @code{backup-directory-alist} to
-specify that files matching certain patterns should be backed up in
-specific directories. This variable applies to both single and
-numbered backups. A typical use is to add an element @code{("."
-. @var{dir})} to make all backups in the directory with absolute name
address@hidden; Emacs modifies the backup file names to avoid clashes
-between files with the same names originating in different
-directories. Alternatively, adding, @code{("." . ".~")} would make
-backups in the invisible subdirectory @file{.~} of the original file's
-directory. Emacs creates the directory, if necessary, to make the
-backup.
-
@vindex make-backup-file-name-function
If you set the variable @code{make-backup-file-name-function} to
a suitable Lisp function, you can override the usual way Emacs
- [Emacs-diffs] master updated (bc00dcf -> 66379a7), Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 2824c58 4/9: Doc fix for insert-pair-alist, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master e77b8d8 3/9: Move doc of backup-directory-alist to the Backup node,
Lars Ingebrigtsen <=
- [Emacs-diffs] master 619e0ae 6/9: Explictly explain that package-initialize loads the packages, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 3eca9a0 5/9: Have the doc strings of `load-path' and `require' mention each other, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master c05716d 1/9: Fill the doc string of font-lock-keywords, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 6f86ec8 7/9: Add a variable to control "shorter command" suggestions, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 12515d8 8/9: Document extended-command-suggest-shorter, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master c05d186 2/9: Tiny doc clarification for create-fontset-from-fontset-spec, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 66379a7 9/9: (extended-command-suggest-shorter): Add a version string, Lars Ingebrigtsen, 2016/04/30