diff --git a/init/dot.emacs.el b/init/multi-emacs-config.el similarity index 85% rename from init/dot.emacs.el rename to init/multi-emacs-config.el index 098d532..ac4f848 100644 --- a/init/dot.emacs.el +++ b/init/multi-emacs-config.el @@ -1,19 +1,24 @@ -;;; dot.emacs --- Summary -;;; This package will enable us to use multiple emacs startup -;;; configuration(startkit in this package) and switch between -;;; these configuration just by change a single environment -;;; variable (EMACS_STARTKIT). -;;; -;;; Currently, we have test it with following: -;;; - doom-emacs -;;; - spacemacs -;;; - frontmacs -;;; - ohai-emacs -;;; - graphene -;;; - prelude -;;; +;;; multi-emacs-config.el --- A tool to use multiple emacs configurations -*- lexical-binding: t; -*- +;; +;; Author: Rongsong Shen +;; ;;; Commentary: + +;; This package will enable us to use multiple EMACS startup +;; configuration(startkit in this package) and switch between +;; these configuration just by change a single environment +;; variable (EMACS_STARTKIT). +;; +;; Currently, we have test it with following: +;; - doom-emacs +;; - spacemacs +;; - frontmacs +;; - ohai-emacs +;; - graphene +;; - prelude +;; ;;; Code: + (require 'cl-lib) (require 'comint) @@ -96,6 +101,8 @@ (defun install-emacs-startkit (name location) + "Function to install EMACS startkit. NAME is the name of EMACS startkit. +LOCATION is the target directory which startkit will be installed." (progn (let* ((shell-buffer (make-comint-in-buffer "installer" nil "/bin/sh")) (shell-process (get-buffer-process shell-buffer))) (progn @@ -121,5 +128,5 @@ We use this function to load startkit initialization file" emacs-config-directory)) (load-file emacs-init-file)) -(provide 'dot.emacs) -;;; dot.emacs.el ends here +(provide 'multi-emacs-config) +;;; multi-emacs-config.el ends here