This commit is contained in:
Rongsong Shen 2019-12-20 16:52:24 +08:00
parent ca469d3259
commit 27b9c7525c

View File

@ -50,10 +50,14 @@
(defvar emacs-config-directory
(let ((config-dir (getenv "EMACS_CONFIG_DIR")))
(if config-dir
(concat config-dir "/"
emacs-config-name "/")
(concat (getenv "HOME") "/.config/emacs/"
emacs-config-name "/")))
(format "%s/%s.%s"
config-dir
startkit-name
startkit-branch)
(format "%s/.config/emacs/%s.%s"
(getenv "HOME")
startkit-name
startkit-branch)))
"The based directory of emacs start configuration")
(defvar startkit-info nil
@ -66,7 +70,6 @@
startkit-branch)
"The base directory which Emacs startkit will be put")
(defvar emacs-init-file
(concat emacs-base-directory "/"
"/init.el")