Browse Source

Move url (cookies, history) directory to cache

master
Riyyi 4 years ago
parent
commit
a277bf4131
  1. 4
      .emacs.d/config.org

4
.emacs.d/config.org

@ -655,8 +655,7 @@ https://github.com/laishulu/hl-fill-column
** File Paths ** File Paths
Set file paths for built-in features like: auto-saves, backups, Set file paths for built-in features like: auto-saves, backups, etc.
packages and tramp.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(unless (file-directory-p dot-cache-dir) (unless (file-directory-p dot-cache-dir)
@ -669,6 +668,7 @@ packages and tramp.
(setq package-user-dir (concat dot-emacs-dir "/elpa")) (setq package-user-dir (concat dot-emacs-dir "/elpa"))
(setq tramp-auto-save-directory (concat dot-cache-dir "/tramp-auto-save/")) (setq tramp-auto-save-directory (concat dot-cache-dir "/tramp-auto-save/"))
(setq tramp-backup-directory-alist backup-directory-alist) (setq tramp-backup-directory-alist backup-directory-alist)
(setq url-configuration-directory (concat dot-cache-dir "/url/"))
;; Set file locations ;; Set file locations
(setq bookmark-default-file (concat dot-etc-dir "/bookmarks")) (setq bookmark-default-file (concat dot-etc-dir "/bookmarks"))

Loading…
Cancel
Save