|
|
|
@ -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)))
|
|
|
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|