diff options
| author | Luc Teirlinck | 2004-08-20 23:01:33 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-08-20 23:01:33 +0000 |
| commit | 3f9be7ceca00ad51ff01468243f5f820bf767996 (patch) | |
| tree | 3ad0997c10c4c33c7352cdcc4c6f55d1c03c4403 | |
| parent | fcaf7de969a4e3556e184640911efb8e4a8dc874 (diff) | |
| download | emacs-3f9be7ceca00ad51ff01468243f5f820bf767996.tar.gz emacs-3f9be7ceca00ad51ff01468243f5f820bf767996.zip | |
(Backup Deletion): Correct description of `delete-old-versions'.
(Time Stamps): `time-stamp' needs to be added to `before-save-hook'.
(Auto Save Files): Recommend `auto-save-mode' to reenable
auto-saving, rather than the abbreviation `auto-save'.
| -rw-r--r-- | man/ChangeLog | 8 | ||||
| -rw-r--r-- | man/files.texi | 19 |
2 files changed, 18 insertions, 9 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 3ff412eb881..85996a57030 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2004-08-20 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * files.texi (Backup Deletion): Correct description of | ||
| 4 | `delete-old-versions'. | ||
| 5 | (Time Stamps): `time-stamp' needs to be added to `before-save-hook'. | ||
| 6 | (Auto Save Files): Recommend `auto-save-mode' to reenable | ||
| 7 | auto-saving, rather than the abbreviation `auto-save'. | ||
| 8 | |||
| 1 | 2004-08-17 Luc Teirlinck <teirllm@auburn.edu> | 9 | 2004-08-17 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 10 | ||
| 3 | * emacs.texi (Top): Mention "cutting" and "pasting" as synonyms | 11 | * emacs.texi (Top): Mention "cutting" and "pasting" as synonyms |
diff --git a/man/files.texi b/man/files.texi index 476c3c7b461..b5ebf7cf820 100644 --- a/man/files.texi +++ b/man/files.texi | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | @c This is part of the Emacs manual. | 1 | @c This is part of the Emacs manual. |
| 2 | @c Copyright (C) 1985,86,87,93,94,95,97,99, 2000, 2001 | 2 | @c Copyright (C) 1985,86,87,93,94,95,97,99, 2000, 2001, 2004 |
| 3 | @c Free Software Foundation, Inc. | 3 | @c Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Files, Buffers, Keyboard Macros, Top | 5 | @node Files, Buffers, Keyboard Macros, Top |
| @@ -625,9 +625,10 @@ made backup is included in the count in @code{kept-new-versions}. By | |||
| 625 | default, both variables are 2. | 625 | default, both variables are 2. |
| 626 | 626 | ||
| 627 | @vindex delete-old-versions | 627 | @vindex delete-old-versions |
| 628 | If @code{delete-old-versions} is non-@code{nil}, Emacs deletes the | 628 | If @code{delete-old-versions} is @code{t}, Emacs deletes the excess |
| 629 | excess backup files silently. If it is @code{nil}, the default, Emacs | 629 | backup files silently. If it is @code{nil}, the default, Emacs asks |
| 630 | asks you whether it should delete the excess backup versions. | 630 | you whether it should delete the excess backup versions. If it has |
| 631 | any other value, then Emacs never automatically deletes backups. | ||
| 631 | 632 | ||
| 632 | Dired's @kbd{.} (Period) command can also be used to delete old versions. | 633 | Dired's @kbd{.} (Period) command can also be used to delete old versions. |
| 633 | @xref{Dired Deletion}. | 634 | @xref{Dired Deletion}. |
| @@ -836,7 +837,7 @@ Time-stamp: " " | |||
| 836 | @end example | 837 | @end example |
| 837 | 838 | ||
| 838 | Then add the hook function @code{time-stamp} to the hook | 839 | Then add the hook function @code{time-stamp} to the hook |
| 839 | @code{write-file-functions}; that hook function will automatically update | 840 | @code{before-save-hook}; that hook function will automatically update |
| 840 | the time stamp, inserting the current date and time when you save the | 841 | the time stamp, inserting the current date and time when you save the |
| 841 | file. You can also use the command @kbd{M-x time-stamp} to update the | 842 | file. You can also use the command @kbd{M-x time-stamp} to update the |
| 842 | time stamp manually. For other customizations, see the Custom group | 843 | time stamp manually. For other customizations, see the Custom group |
| @@ -942,7 +943,7 @@ when they are auto-saved, the auto-save file name is made by appending | |||
| 942 | @samp{#} to the front and rear of buffer name, then | 943 | @samp{#} to the front and rear of buffer name, then |
| 943 | adding digits and letters at the end for uniqueness. For | 944 | adding digits and letters at the end for uniqueness. For |
| 944 | example, the @samp{*mail*} buffer in which you compose messages to be | 945 | example, the @samp{*mail*} buffer in which you compose messages to be |
| 945 | sent might auto-saved in a file named @file{#*mail*#704juu}. Auto-save file | 946 | sent might be auto-saved in a file named @file{#*mail*#704juu}. Auto-save file |
| 946 | names are made this way unless you reprogram parts of Emacs to do | 947 | names are made this way unless you reprogram parts of Emacs to do |
| 947 | something different (the functions @code{make-auto-save-file-name} and | 948 | something different (the functions @code{make-auto-save-file-name} and |
| 948 | @code{auto-save-file-name-p}). The file name to be used for auto-saving | 949 | @code{auto-save-file-name-p}). The file name to be used for auto-saving |
| @@ -962,7 +963,7 @@ save turns off temporarily in that buffer. This is because if you | |||
| 962 | deleted the text unintentionally, you might find the auto-save file more | 963 | deleted the text unintentionally, you might find the auto-save file more |
| 963 | useful if it contains the deleted text. To reenable auto-saving after | 964 | useful if it contains the deleted text. To reenable auto-saving after |
| 964 | this happens, save the buffer with @kbd{C-x C-s}, or use @kbd{C-u 1 M-x | 965 | this happens, save the buffer with @kbd{C-x C-s}, or use @kbd{C-u 1 M-x |
| 965 | auto-save}. | 966 | auto-save-mode}. |
| 966 | 967 | ||
| 967 | @vindex auto-save-visited-file-name | 968 | @vindex auto-save-visited-file-name |
| 968 | If you want auto-saving to be done in the visited file rather than | 969 | If you want auto-saving to be done in the visited file rather than |
| @@ -1567,7 +1568,7 @@ the revision denoted on the current line was committed. | |||
| 1567 | 1568 | ||
| 1568 | @item | 1569 | @item |
| 1569 | Pressing @kbd{L} shows the log of the revision at line. This is | 1570 | Pressing @kbd{L} shows the log of the revision at line. This is |
| 1570 | useful to see the author's description of the changes that occured | 1571 | useful to see the author's description of the changes that occurred |
| 1571 | when the revision denoted on the current line was committed. | 1572 | when the revision denoted on the current line was committed. |
| 1572 | 1573 | ||
| 1573 | @item | 1574 | @item |
| @@ -1585,7 +1586,7 @@ use once a day. | |||
| 1585 | @menu | 1586 | @menu |
| 1586 | * Registering:: Putting a file under version control. | 1587 | * Registering:: Putting a file under version control. |
| 1587 | * VC Status:: Viewing the VC status of files. | 1588 | * VC Status:: Viewing the VC status of files. |
| 1588 | * VC Undo:: Cancelling changes before or after check-in. | 1589 | * VC Undo:: Canceling changes before or after check-in. |
| 1589 | * VC Dired Mode:: Listing files managed by version control. | 1590 | * VC Dired Mode:: Listing files managed by version control. |
| 1590 | * VC Dired Commands:: Commands to use in a VC Dired buffer. | 1591 | * VC Dired Commands:: Commands to use in a VC Dired buffer. |
| 1591 | @end menu | 1592 | @end menu |