summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smart-documents.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 46597ee..eb67493 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -1313,6 +1313,14 @@ The diary file can be included in all agenda views.
*** List of agenda files
+If the agenda file does not already exist, create it at the expected location.
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (unless (file-exists-p (concat sd-path-meta "org-agenda-files"))
+ (with-temp-buffer
+ (write-file (concat sd-path-meta "org-agenda-files"))))
+#+END_SRC
+
The list of agenda files is saved at the following location.
#+BEGIN_SRC emacs-lisp :tangle yes
Copyright 2019--2024 Marius PETER