From b6574de6e7ed5c0797bc0b6b1fb173a290e366e8 Mon Sep 17 00:00:00 2001 From: Grant Shoshin Shangreaux Date: Wed, 5 Apr 2023 09:53:17 -0500 Subject: Fix: undeclared org-directory var --- shoshimacs.el | 1 + shoshimacs.org | 5 +++-- 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 -- cgit v1.2.3