From 62aa4dc91f3c27a2e1ee5f189d7bdb5bd0656fd1 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 10 Dec 2021 07:35:02 -0500 Subject: fix org export --- emacs/.doom.d/config.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'emacs/.doom.d/config.el') diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index beb67e8..1de49dc 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -102,10 +102,12 @@ (:output-dir . "static/data/")) org-babel-default-header-args)) + (setq org-agenda-archives-mode nil) (defun kj/find-agenda-files-containing-tag (tag) - (let ((candidates (org-agenda-files nil 'ifmode)) - (matcher (cdr (org-make-tags-matcher tag))) - (files)) + (let* ((org-agenda-archives-mode nil) + (candidates (org-agenda-files nil 'ifmode)) + (matcher (cdr (org-make-tags-matcher tag))) + (files)) (message "Results:") (dolist (file candidates files) (org-check-agenda-file file) @@ -153,6 +155,7 @@ :publishing-directory ,kj/publish-directory :publishing-function org-html-publish-to-html + :with-broken-links t :with-toc nil :with-latex t :with-drawers t -- cgit v1.2.3