fix org-hugo again
This commit is contained in:
parent
a80c68e766
commit
405d0b7b5d
@ -784,7 +784,7 @@ Return nil if DIR is not in a hugo project at all."
|
|||||||
(progn
|
(progn
|
||||||
(if (string-match-p (rx bol (* any) "/content-org" (opt "/") eol)
|
(if (string-match-p (rx bol (* any) "/content-org" (opt "/") eol)
|
||||||
default-directory)
|
default-directory)
|
||||||
(org-hugo-export-wim-to-md-after-save))
|
(org-hugo-export-wim-to-md))
|
||||||
(let* ((default-directory hugo-dir)
|
(let* ((default-directory hugo-dir)
|
||||||
(buffer (get-buffer-create "*hugo*")))
|
(buffer (get-buffer-create "*hugo*")))
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user