diff --git a/init/multi-emacs-config.el b/init/multi-emacs-config.el index 1a0996b..5493a48 100644 --- a/init/multi-emacs-config.el +++ b/init/multi-emacs-config.el @@ -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")