* backup files and autosave files
@ 2009-08-04 9:11 Decebal
0 siblings, 0 replies; only message in thread
From: Decebal @ 2009-08-04 9:11 UTC (permalink / raw)
To: help-gnu-emacs
I want my backup and autosave files not scattered over my HD.
For this I tried:
(if (file-directory-p "~/.emacs.d/backup")
(setq backup-directory-alist '(("." . "~/.emacs.d/backup")))
(message "Directory does not exist: ~/.emacs.d/backup"))
(if (file-directory-p "~/.emacs.d/autosave")
(setq auto-save-file-name-transforms `((".*" "~/.emacs.d/
autosave/\\1" t)))
(message "Directory does not exist: ~/.emacs.d/autosave"))
For backups this works. But my autosave files are saved as:
~/.emacs.d/autosave/#\1#
What do I need to do to get the same type of files with autosave as
with backup?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-04 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 9:11 backup files and autosave files Decebal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).