Define export variables locally
This commit is contained in:
parent
e3516e15a4
commit
40adaa9565
2 changed files with 14 additions and 7 deletions
|
@ -1,5 +1,12 @@
|
|||
(defun dwpost (psubject)
|
||||
(interactive "MPost title (REQUIRED): ")
|
||||
(setq org-export-with-author 'nil)
|
||||
(setq org-export-with-creator 'nil)
|
||||
(setq org-export-with-date 'nil)
|
||||
(setq org-export-with-section-numbers 'nil)
|
||||
(setq org-export-time-stamp-file 'nil)
|
||||
(setq org-export-with-toc 'nil)
|
||||
(setq org-html-validation-link 'nil)
|
||||
(org-html-export-to-html)
|
||||
(defvar newname (concat (file-name-base) ".html"))
|
||||
(find-file-noselect newname)
|
||||
|
@ -16,6 +23,13 @@
|
|||
|
||||
(defun dwpost-public (psubject)
|
||||
(interactive "MPost title (REQUIRED): ")
|
||||
(setq org-export-with-author 'nil)
|
||||
(setq org-export-with-creator 'nil)
|
||||
(setq org-export-with-date 'nil)
|
||||
(setq org-export-with-section-numbers 'nil)
|
||||
(setq org-export-time-stamp-file 'nil)
|
||||
(setq org-export-with-toc 'nil)
|
||||
(setq org-html-validation-link 'nil)
|
||||
(org-html-export-to-html)
|
||||
(defvar newname (concat (file-name-base) ".html"))
|
||||
(find-file-noselect newname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue