Remove version on cache path

This commit is contained in:
Henrik Lissner 2016-06-06 23:48:26 -04:00
parent e06eae0ba6
commit ca517d9df5
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,5 @@
EMACS=emacs EMACS=emacs
CACHE_DIR="private/cache/`hostname`/`emacs --version | grep -o '2[0-9]\.[0-9]'`" CACHE_DIR="private/cache/`hostname`/"
REPO_URL="https://github.com/hlissner" REPO_URL="https://github.com/hlissner"
all: install all: install

View file

@ -27,10 +27,8 @@
(defconst doom-ext-dir (! (expand-file-name "ext" doom-emacs-dir))) (defconst doom-ext-dir (! (expand-file-name "ext" doom-emacs-dir)))
(defconst doom-themes-dir (! (expand-file-name "themes" doom-private-dir))) (defconst doom-themes-dir (! (expand-file-name "themes" doom-private-dir)))
(defconst doom-temp-dir (defconst doom-temp-dir
(! (format "%s/cache/%s/%s.%s" (! (format "%s/cache/%s" doom-private-dir (system-name)))
doom-private-dir (system-name) "Hostname-based elisp temp directories")
emacs-major-version emacs-minor-version))
"Hostname and emacs-version-based elisp temp directories")
;; window-system is deprecated. Not on my watch! ;; window-system is deprecated. Not on my watch!
(unless (boundp 'window-system) (unless (boundp 'window-system)