Add project-specific config file option
This commit is contained in:
parent
dc0284d45f
commit
831031aa3a
1 changed files with 5 additions and 1 deletions
6
init.el
6
init.el
|
|
@ -17,10 +17,14 @@
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install 'use-package))
|
(package-install 'use-package))
|
||||||
|
|
||||||
;;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
||||||
(when (file-readable-p "~/.emacs.d/config.org")
|
(when (file-readable-p "~/.emacs.d/config.org")
|
||||||
(org-babel-load-file (expand-file-name "~/.emacs.d/config.org")))
|
(org-babel-load-file (expand-file-name "~/.emacs.d/config.org")))
|
||||||
|
|
||||||
|
;; If it exists, load some project-specific configurations.
|
||||||
|
(when (file-readable-p "~/.emacs.d/project.org")
|
||||||
|
(org-babel-load-file (expand-file-name "~/.emacs.d/project.org")))
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue