[Emacs] Override org-export-headline-levels when exporting

This commit is contained in:
Ivan Malison 2016-10-27 03:01:33 -07:00
parent ec10147855
commit 1f6e232286
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -10,7 +10,8 @@ readme_was_updated() {
update_index () { update_index () {
emacsclient -e "(with-current-buffer (find-file-noselect \"$TARGET\") 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" cp -f "$EMACS_DIR/README.html" "$TOP_LEVEL/index.html"
} }