[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
backup files and autosave files
From: |
Decebal |
Subject: |
backup files and autosave files |
Date: |
Tue, 4 Aug 2009 02:11:08 -0700 (PDT) |
User-agent: |
G2/1.0 |
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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- backup files and autosave files,
Decebal <=