-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinit.el
More file actions
19 lines (17 loc) · 758 Bytes
/
Copy pathinit.el
File metadata and controls
19 lines (17 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; package --- Shane's Emacs Configuration
;;; Commentary:
;;; Not sure what more to say here. Have a nice day.
;;; Code:
;; This is hopefully temporary. The code inserted into generated.el needs to be
;; run before the function call below, specifically so that the value for
;; custom-safe-themes is respected.
(setq custom-file (expand-file-name "generated.el" user-emacs-directory))
(when (file-exists-p custom-file)
(load custom-file))
(let ((org-file (expand-file-name "readme.org" user-emacs-directory))
(el-file (expand-file-name "readme.el" user-emacs-directory)))
(if (or (not (file-exists-p el-file))
(file-newer-than-file-p org-file el-file))
(org-babel-load-file org-file)
(load el-file)))
;;; init.el ends here