aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-04-05 09:53:17 -0500
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2023-04-05 09:53:17 -0500
commitb6574de6e7ed5c0797bc0b6b1fb173a290e366e8 (patch)
treed8269904d475d408b62388a7f77dc1e6c410d000
parent01c01da513aa9abab8fbd048ba97cd72e6cd31fd (diff)
Fix: undeclared org-directory varHEADmain
-rw-r--r--shoshimacs.el1
-rw-r--r--shoshimacs.org5
2 files changed, 4 insertions, 2 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index b3071e6..1f1c3a2 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -153,6 +153,7 @@
(package-install 'markdown-mode)
+(setq org-directory (expand-file-name "~/Nextcloud/org"))
(setq org-default-notes-file (concat org-directory "/notes.org"))
(setq org-capture-templates
diff --git a/shoshimacs.org b/shoshimacs.org
index 9bf00c4..ae70625 100644
--- a/shoshimacs.org
+++ b/shoshimacs.org
@@ -649,13 +649,14 @@ Org capture is a way to quickly get entries from various places into one of your
org files.
#+begin_src emacs-lisp
+ (setq org-directory (expand-file-name "~/Nextcloud/org"))
(setq org-default-notes-file (concat org-directory "/notes.org"))
(setq org-capture-templates
`(("p" "Protocol" entry (file+headline ,org-default-notes-file "Inbox")
- "* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
+ "* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
("L" "Protocol Link" entry (file+headline ,org-default-notes-file "Inbox")
- "* %? [[%:link][%:description]] \nCaptured On: %U")))
+ "* %? [[%:link][%:description]] \nCaptured On: %U")))
#+end_src
*** refile