rename to multi-emacs-config
This commit is contained in:
parent
44ae44bd40
commit
2fe2fffe09
@ -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<rshen@shenrs.eu>
|
||||
;;
|
||||
;;; 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
|
||||
Loading…
Reference in New Issue
Block a user