core: change default value of dotspacemacs-elpa-subdirectory

Set it to emacs-version as it is the saner defaults here. When updating the
version of emacs, packages should be byte-recompiled. Thus this is safer to
isolate each package by emacs-version.
This commit is contained in:
syl20bnr 2017-10-29 00:27:00 -04:00
parent 099bfcb0d9
commit 3d10ad6742
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ environment, otherwise it is strongly recommended to let it set to t.")
(defvar dotspacemacs-elpa-timeout 5
"Maximum allowed time in seconds to contact an ELPA repository.")
(defvar dotspacemacs-elpa-subdirectory nil
(defvar dotspacemacs-elpa-subdirectory 'emacs-version
"If non-nil, a form that evaluates to a package directory. For
example, to use different package directories for different Emacs
versions, set this to `emacs-version'.")

View File

@ -93,8 +93,8 @@ It should only modify the values of Spacemacs settings."
dotspacemacs-check-for-update nil
;; If non-nil, a form that evaluates to a package directory. For example, to
;; use different package directories for different Emacs versions, set this
;; to `emacs-version'. (default nil)
dotspacemacs-elpa-subdirectory nil
;; to `emacs-version'. (default 'emacs-version)
dotspacemacs-elpa-subdirectory 'emacs-version
;; One of `vim', `emacs' or `hybrid'.
;; `hybrid' is like `vim' except that `insert state' is replaced by the
;; `hybrid state' with `emacs' key bindings. The value can also be a list