summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-04-30 17:11:47 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.lonestar.org>2019-04-30 17:11:47 -0400
commit123ea1544d4d01724d82b1139dc67a62c733000c (patch)
treebe4e3ef7f8f0dd345df034d9427815fddfd7374b
parent699f4383447f40d038abd5498412d147da91b563 (diff)
Rename vestigial ':hugo-base-dir
-rw-r--r--ox-haunt.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/ox-haunt.el b/ox-haunt.el
index 631c54b..5c59640 100644
--- a/ox-haunt.el
+++ b/ox-haunt.el
@@ -45,7 +45,7 @@
(src-block . ox-haunt-src-block)
(template . ox-haunt-template))
:options-alist
- '((:hugo-base-dir "HAUNT_BASE_DIR" nil nil)))
+ '((:haunt-base-dir "HAUNT_BASE_DIR" nil nil)))
(defgroup org-export-haunt nil
"Options for exporting Org mode files to Haunt HTML."
@@ -121,7 +121,7 @@ valid executable."
"Transcode a LINK object from Org to HTML."
(let* ((orig-path (org-element-property :path link))
(filename (file-name-nondirectory orig-path))
- (dest-path (plist-get info :hugo-base-dir)))
+ (dest-path (plist-get info :haunt-base-dir)))
(when (string= "file" (org-element-property :type link))
(ox-haunt--check-base-dir dest-path)
(copy-file orig-path (concat dest-path "/images/" filename) t)
@@ -183,7 +183,7 @@ valid executable."
'hugo subtreep visible-only)
(org-export--get-buffer-attributes)
(org-export-get-environment 'haunt subtreep)))
- (dest-path (plist-get info :hugo-base-dir)))
+ (dest-path (plist-get info :haunt-base-dir)))
(ox-haunt--check-base-dir dest-path)
(let* ((extension (concat "." (or (plist-get ext-plist :html-extension)
org-html-extension