summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-09 14:41:31 -0600
committerCase Duckworth2021-01-09 14:41:45 -0600
commit2f5dd722324587c5640c9b6f118ae473d18cae7e (patch)
treedd244bb2ebccf50a0ce43d126278c368bf19148f
parentAdd elfeed (diff)
downloademacs-2f5dd722324587c5640c9b6f118ae473d18cae7e.tar.gz
emacs-2f5dd722324587c5640c9b6f118ae473d18cae7e.zip
Fix org loading on tangle
-rw-r--r--config.org7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.org b/config.org index 221bc4a..082032d 100644 --- a/config.org +++ b/config.org
@@ -5,7 +5,7 @@
5#+EXPORT_FILE_NAME: README.md 5#+EXPORT_FILE_NAME: README.md
6#+OPTIONS: toc:nil 6#+OPTIONS: toc:nil
7#+BANKRUPTCY_COUNT: 3.2 7#+BANKRUPTCY_COUNT: 3.2
8#+Time-stamp: <2021-01-09 09:38:21 acdw> 8#+Time-stamp: <2021-01-09 14:40:57 acdw>
9 9
10* Basics 10* Basics
11 11
@@ -1948,7 +1948,8 @@ I’m only enabling this at home for now, since it requires building stuff.
1948 (load conf 'no-error)) 1948 (load conf 'no-error))
1949 ;; A plain require here just loads the older `org' in Emacs' install dir. We 1949 ;; A plain require here just loads the older `org' in Emacs' install dir. We
1950 ;; need to add the newer one to the `load-path', hopefully that's all. 1950 ;; need to add the newer one to the `load-path', hopefully that's all.
1951 (add-to-list 'load-path (expand-file-name "straight/build/org/")) 1951 (add-to-list 'load-path (expand-file-name "straight/build/org/"
1952 user-emacs-directory))
1952 (require 'org) 1953 (require 'org)
1953 (org-babel-load-file conf-org))) 1954 (org-babel-load-file conf-org)))
1954 #+END_SRC 1955 #+END_SRC
@@ -1991,6 +1992,8 @@ I’m only enabling this at home for now, since it requires building stuff.
1991 "config.el" 1992 "config.el"
1992 user-emacs-directory)) 1993 user-emacs-directory))
1993 (message "%s" "Tangling config.org...") 1994 (message "%s" "Tangling config.org...")
1995 (add-to-list 'load-path (expand-file-name "straight/build/org/"
1996 user-emacs-directory))
1994 (require 'org) 1997 (require 'org)
1995 (let ((inits (org-babel-tangle))) 1998 (let ((inits (org-babel-tangle)))
1996 ;; byte-compile resulting files 1999 ;; byte-compile resulting files