INIT: Move customization to its own file that we can ignore
This commit is contained in:
parent
69010af86e
commit
cdcd577939
2 changed files with 3 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
custom.el
|
||||
5
init.el
5
init.el
|
|
@ -4,13 +4,12 @@
|
|||
;;; https://jonnay.github.io/emagicians-starter-kit/Emagician-Base.html
|
||||
;;; ...
|
||||
(let ((gc-cons-threshold most-positive-fixnum))
|
||||
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
|
||||
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
||||
(defvar my-config-file (expand-file-name "config_new.org" user-emacs-directory))
|
||||
|
||||
(when (file-readable-p my-config-file)
|
||||
(org-babel-load-file (expand-file-name my-config-file)))
|
||||
|
||||
;; If it exists, load some project-specific configurations.
|
||||
;;(when (file-readable-p project-file)
|
||||
;; (org-babel-load-file (expand-file-name project-file)))
|
||||
(load custom-file)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue