Only load custom file if it exists
This commit is contained in:
parent
012e960510
commit
6e52096e2d
1 changed files with 2 additions and 1 deletions
3
init.el
3
init.el
|
|
@ -11,5 +11,6 @@
|
||||||
(when (file-readable-p my-config-file)
|
(when (file-readable-p my-config-file)
|
||||||
(org-babel-load-file (expand-file-name my-config-file)))
|
(org-babel-load-file (expand-file-name my-config-file)))
|
||||||
|
|
||||||
(load custom-file)
|
(when (file-readable-p custom-file)
|
||||||
|
(load custom-file))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue