diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-12-04 11:21:54 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-12-04 11:21:54 +0400 |
| commit | cfb51236a57fb0db9ab8e9cc76b6af45984d9133 (patch) | |
| tree | eba2b9846acf9510710db4778cd8f7da6c13b29f /config.org | |
| parent | bbc78c11b28c565ea13f87edb1156b6967e898ee (diff) | |
wip: load custom.el file only if it exists
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -86,7 +86,8 @@ I don't want this autogenerated code to be added to main config file automatical placed in its own file and won't annoy me. #+BEGIN_SRC emacs-lisp (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) - (load custom-file) + (when (file-exists-p custom-file) + (load custom-file)) #+END_SRC * Package management |