summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlendoit <blendoit@gmail.com>2021-05-15 14:36:50 -0700
committerBlendoit <blendoit@gmail.com>2021-05-15 14:36:50 -0700
commitf73936678c2039c91b704c778d2c83ac477ad84c (patch)
tree7c1656c1f743ce6f080c02e5f72fd335e418fbb6
parent6b135f489abca7d48a38b2ef12da7130f8ba06ee (diff)
Clean up init.
-rw-r--r--init.el14
1 files changed, 3 insertions, 11 deletions
diff --git a/init.el b/init.el
index ceffb35..1b01019 100644
--- a/init.el
+++ b/init.el
@@ -6,17 +6,9 @@
;;; Code:
;; First of all, we indicate the path to our literate configuration file.
-(setq my/literate-config (concat user-emacs-directory "smart-documents"))
-
-;; Emacs will startup faster next time, because it will load
-;; a byte-compiled version of our literate configuration file.
-;; (cond ((file-exists-p (concat my/literate-config ".el"))
-;; (load my/literate-config))
-;; ((file-exists-p (concat my/literate-config ".org"))
-;; (org-babel-load-file (concat my/literate-config ".org")))
-;; (t (message "No literate configuration file detected.")))
-
-(org-babel-load-file (concat my/literate-config ".org"))
+(setq my/literate-config (concat user-emacs-directory "smart-documents.org"))
+;; Then, we load this file into Emacs' memory.
+(org-babel-load-file my/literate-config)
(provide 'init)
Copyright 2019--2024 Marius PETER