mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Store all temporary stuff in a specific cache folder
Instead of using effectively TMPDIR on the machine, let's use a `cache` folder in the root of the .emacs.d directory.
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
ido-enable-flex-matching t
|
||||
ido-enable-prefix nil
|
||||
ido-max-prospects 10
|
||||
ido-save-directory-list-file (expand-file-name "ido.hist"
|
||||
siren-savefile-dir)
|
||||
ido-save-directory-list-file (expand-file-name "ido.hist" siren-cache-dir)
|
||||
ido-use-faces nil
|
||||
ido-use-filename-at-point nil)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
("C-c C-c M-x" . execute-extended-command)
|
||||
|
||||
:config
|
||||
(setq smex-save-file (expand-file-name ".smex-items" siren-savefile-dir))
|
||||
(setq smex-save-file (expand-file-name "smex-items" siren-cache-dir))
|
||||
(smex-initialize))
|
||||
|
||||
(provide 'siren-smex)
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
:config
|
||||
(global-undo-tree-mode)
|
||||
;; autosave the undo-tree history
|
||||
(setq undo-tree-history-directory-alist `((".*" . ,temporary-file-directory))
|
||||
(setq undo-tree-history-directory-alist
|
||||
`((".*" . ,(expand-file-name "undo-tree-history" siren-cache-dir)))
|
||||
undo-tree-auto-save-history t))
|
||||
|
||||
(provide 'siren-undo-tree)
|
||||
|
||||
Reference in New Issue
Block a user