keithv wrote:,----[ C-h v version-control RET ]
> I need help writing a function that works like write-file but
> first modifies the file name by locating and incrementing
> any numbers in the file name. For example, if the buffer
> name is "test1.txt", repeatedly invoking this function
> would save files with the names "test2.txt", "test3.txt",
> "test4.txt", etc.
> The goal being to keep all versions of a given file.
> My elisp is rusty--I know how I would do the
> Or better yet, is there a package out there
| version-control is a variable defined in `files.el'.
| Its value is nil
| *Control use of version numbers for backup files.
| t means make numeric backup versions unconditionally.
| nil means make them for files that have some already.
| `never' means do not make them.
| You can customize this variable.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.