diff --git a/init.el b/init.el index c33c9f2..4ae89fd 100644 --- a/init.el +++ b/init.el @@ -38,12 +38,14 @@ ;; Helper function for loading elisp files (defun load-elisp-if-exists (f) "load the elisp file only if it exists and is readable" - (if (file-readable-p f) + (if (and (file-exists-p f) + (file-readable-p f)) (load-file f))) ;; Helper function for loading org-mode files (defun load-orgfile-if-exists (f) "load the elisp file only if it exists and is readable" - (if (file-readable-p f) + (if (and (file-exists-p f) + (file-readable-p f)) (org-babel-load-file f))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/myconfig.org b/myconfig.org index 4f6a02d..26cbe7d 100644 --- a/myconfig.org +++ b/myconfig.org @@ -19,6 +19,8 @@ - [[https://github.com/daviwil/dotfiles/blob/master/Emacs.org][System Crafters]] - [[https://github.com/daviwil/emacs-from-scratch/blob/master/Emacs.org][System Crafters emacs-from-scratch]] - [[https://github.com/SystemCrafters/crafter-configs][System Crafters configs compilation]] +- [[https://github.com/oantolin/emacs-config][Omar Antolin]] +- [[https://bitbucket.org/hyunlee1o/dotfiles/src/main/.emacs.d/init.el][hyunlee1o]] * Before this file loads ** The =early-init.el= file has been loaded.