changed export dir to something more sane

This commit is contained in:
ndwarshuis 2018-12-16 19:14:01 -05:00
parent 3c49bd793c
commit b7d09cd79b
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ Use =latexmk= instead of =pdflatex= as it is more flexible and doesn't require r
By default org export files to the same location as the buffer. This is insanity and clutters my org directory with =.tex= and friends. Force org to export to a separate location. By default org export files to the same location as the buffer. This is insanity and clutters my org directory with =.tex= and friends. Force org to export to a separate location.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar nd/org-export-publishing-directory (defvar nd/org-export-publishing-directory
(expand-file-name "~/Downloads/org-exports") (expand-file-name "org-exports" (getenv "XDG_CACHE_HOME"))
"The target directory to for all org exports.") "The target directory to for all org exports.")
(defun nd/org-export-output-file-name (orig-fun extension &optional subtreep pub-dir) (defun nd/org-export-output-file-name (orig-fun extension &optional subtreep pub-dir)