fix org-hugo again

This commit is contained in:
MitchMarq42 2023-03-11 09:01:19 -09:00
parent a80c68e766
commit 405d0b7b5d

View File

@ -784,7 +784,7 @@ Return nil if DIR is not in a hugo project at all."
(progn
(if (string-match-p (rx bol (* any) "/content-org" (opt "/") eol)
default-directory)
(org-hugo-export-wim-to-md-after-save))
(org-hugo-export-wim-to-md))
(let* ((default-directory hugo-dir)
(buffer (get-buffer-create "*hugo*")))
(with-current-buffer buffer