aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 14:36:43 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 14:36:43 -0500
commitfd79a57c82c458e098d2f0be258f3d34f0c21115 (patch)
tree2f20c8ccdffd04446d804cb44ce3a1a6d87cc391 /modules
parent60fccecfe01e66c41f25abe41f8309c9e4e19a7e (diff)
downloaddotemacs-fd79a57c82c458e098d2f0be258f3d34f0c21115.tar.gz
dotemacs-fd79a57c82c458e098d2f0be258f3d34f0c21115.zip
fix(org-export): remove contradictory org-export-with-tasks default
org-export-config.el set org-export-with-tasks twice in a row — first to ("TODO"), then to nil. The final value won (export no tasks), but the stale first assignment and its "export with tasks by default" comment contradicted it, so the intended policy was ambiguous on a read. Removed the leftover ("TODO") line. nil is the deliberate default: it is the value that was already winning, its comment matches, and it sits with the adjacent "export without tags / section numbers by default" settings. Added a smoke test that fires the deferred ox :config and pins org-export-with-tasks to nil so a future flip is caught.
Diffstat (limited to 'modules')
-rw-r--r--modules/org-export-config.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/org-export-config.el b/modules/org-export-config.el
index 688d8f99c..0cf0af159 100644
--- a/modules/org-export-config.el
+++ b/modules/org-export-config.el
@@ -46,7 +46,6 @@
(setq org-export-headline-levels 6) ;; export headlines 6 levels deep
(setq org-export-with-section-numbers nil) ;; export without section numbers by default
(setq org-export-with-tags nil) ;; export without tags by default
- (setq org-export-with-tasks '("TODO")) ;; export with tasks by default
(setq org-export-with-tasks nil) ;; export WITHOUT tasks by default
(setq org-export-with-toc t) ;; export WITH table of contents by default
(setq org-export-initial-scope 'buffer) ;; 'subtree is your other choice