summaryrefslogtreecommitdiff
path: root/ox-haunt.el
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-01 19:08:05 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-05-01 19:08:05 -0400
commit34a29d7bd8141883ab7407e82dc0b9017a25f010 (patch)
treed1a72dd4cf18e715f483f2d3962cc374815dc002 /ox-haunt.el
parent48120565a3793e777d9370578076c3cbe4953b4b (diff)
Implement a 'ox-haunt-base-dir custom variable
Diffstat (limited to 'ox-haunt.el')
-rw-r--r--ox-haunt.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/ox-haunt.el b/ox-haunt.el
index b09ea94..2d6bb4b 100644
--- a/ox-haunt.el
+++ b/ox-haunt.el
@@ -45,13 +45,18 @@
(template . ox-haunt-template))
:options-alist
'((:tags "TAGS" nil nil)
- (:haunt-base-dir "HAUNT_BASE_DIR" nil nil)))
+ (:haunt-base-dir "HAUNT_BASE_DIR" nil ox-haunt-base-dir)))
(defgroup org-export-haunt nil
"Options for exporting Org mode files to Haunt HTML."
:tag "Org Export Haunt"
:group 'org-export)
+(defcustom ox-haunt-base-dir nil
+ "The default path to write output files to. This can be
+specified on a per-file basis with the 'HAUNT_BASE_DIR' keyword."
+ :type 'string)
+
(defcustom ox-haunt-tidy-html nil
"Whether or not to format the HTML output with the external
HTML Tidy tool. Requires that `ox-haunt-tidy-executable' names a