home/natto/emacs: minor changes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
(delete-file (expand-file-name "~/.emacs.d/config.el"))
|
||||
(org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))
|
||||
(defconst config-org (expand-file-name "config.org" user-emacs-directory))
|
||||
(defconst config-el (expand-file-name "config.el" user-emacs-directory))
|
||||
|
||||
(unless (file-exists-p config-el)
|
||||
(require 'org)
|
||||
(org-babel-tangle-file config-org config-el))
|
||||
|
||||
(load-file config-el)
|
||||
|
Reference in New Issue
Block a user