From 1f6e232286bdc5d9a9cda2f4ab69c1c6a4d6680c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 27 Oct 2016 03:01:33 -0700 Subject: [PATCH] [Emacs] Override `org-export-headline-levels` when exporting --- dotfiles/emacs.d/bin/util.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/bin/util.sh b/dotfiles/emacs.d/bin/util.sh index dfe8f08e..20b0d66b 100755 --- a/dotfiles/emacs.d/bin/util.sh +++ b/dotfiles/emacs.d/bin/util.sh @@ -10,7 +10,8 @@ readme_was_updated() { update_index () { emacsclient -e "(with-current-buffer (find-file-noselect \"$TARGET\") - (org-html-export-to-html))" + (let ((org-export-headline-levels 10)) + (org-html-export-to-html)))" cp -f "$EMACS_DIR/README.html" "$TOP_LEVEL/index.html" }