From ca517d9df5723e4f257b98a8927040fe60a46e29 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 6 Jun 2016 23:48:26 -0400 Subject: [PATCH] Remove version on cache path --- Makefile | 2 +- core/core.el | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7e486dc28..1cd8f0aa0 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ 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" all: install diff --git a/core/core.el b/core/core.el index 80e0fdfb1..bfaca5031 100644 --- a/core/core.el +++ b/core/core.el @@ -27,10 +27,8 @@ (defconst doom-ext-dir (! (expand-file-name "ext" doom-emacs-dir))) (defconst doom-themes-dir (! (expand-file-name "themes" doom-private-dir))) (defconst doom-temp-dir - (! (format "%s/cache/%s/%s.%s" - doom-private-dir (system-name) - emacs-major-version emacs-minor-version)) - "Hostname and emacs-version-based elisp temp directories") + (! (format "%s/cache/%s" doom-private-dir (system-name))) + "Hostname-based elisp temp directories") ;; window-system is deprecated. Not on my watch! (unless (boundp 'window-system)