From 34a29d7bd8141883ab7407e82dc0b9017a25f010 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Wed, 1 May 2019 19:08:05 -0400 Subject: Implement a 'ox-haunt-base-dir custom variable --- ox-haunt.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.3