Monday, September 13, 2010

Save temp files to the tmp directory

(setq backup-directory-alist
`((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t)))

;; (require 'real-auto-save)
;; (remove-hook 'org-mode-hook 'turn-on-real-auto-save)
;; (setq real-auto-save-interval 5) ;; in seconds




No comments:

Post a Comment