Add project-specific config file option

This commit is contained in:
laurensmiers 2019-09-09 09:27:03 +02:00
parent dc0284d45f
commit 831031aa3a

View file

@ -17,10 +17,14 @@
(package-refresh-contents)
(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")
(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)
(custom-set-variables
;; custom-set-variables was added by Custom.