diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-18 00:14:45 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-03-18 00:15:24 +0900 |
commit | 73ccaa0dc1d343d9a84b4f940479a0e128a8a7b5 (patch) | |
tree | 6bacf4e761947b79ecbb6697ec0727f67abeec1b /scripts/export-to-text.el | |
parent | a99ad1e68c06c33e8ec87642b2b1a21ce61ebdd2 (diff) |
Remove tocs from exported files.
Diffstat (limited to 'scripts/export-to-text.el')
-rw-r--r-- | scripts/export-to-text.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/export-to-text.el b/scripts/export-to-text.el index 97f6e2a..debe18b 100644 --- a/scripts/export-to-text.el +++ b/scripts/export-to-text.el @@ -7,7 +7,8 @@ (output-buffer (find-file output-filename)) (text-buffer (get-buffer-create "*Org ASCII Export*")) (pt nil) - (file-buffer (current-buffer))) + (file-buffer (current-buffer)) + (org-export-with-toc nil)) (with-current-buffer output-buffer (erase-buffer)) |