I am trying to establish an ox-hugo workflow using the Auto-saving feature described in the official website. However, when trying to enable it using the following snippet:
(("content-org/"
. ((org-mode . ((eval . (org-hugo-auto-export-mode)))))))
I receive the following error:
Debugger entered--Lisp error: (invalid-function ("content-org/" (org-mode (eval org-hugo-auto-export-mode)))) (("content-org/" (org-mode (eval org-hugo-auto-export-mode))))
Any ideas why the official doc instructions would not be valid?
.dir-locals.el
in the project root. Emacs has different evaluation rules for such a file and it looks, from yr debugger output, that they have not been applied in yr case.