I moved away from a hand-rolled configuration and switched to Doom not long ago. After several years of basic functionality, I suddenly found myself with multitudes of modules all loading much faster than my previous config. I couldn't believe I'd waited so long.
And then it all came crashing down. I found org-spec, which I absolutely want to use professionally. But ob-ditaa
... My understanding is that if I set a variable, defcustom
should leave that alone. This isnt' happening. Perhaps then (after! ob-ditaa ...)
will override the default and I'll be able to export.
Please, help me set this in Doom so I don't have to evaluate it each time.
I have tried this:
(after! ob-ditaa ;; I've tried org here as well (setq org-ditaa-jar-path (dt/trim-last-newline (shell-command-to-string "which ditaa"))))
And, actually, ditaa is on my path, so I've done this as well:
(setq org-ditaa-jar-path "ditaa")
This is in my .doom.d/config.el
. And when Emacs starts, that's what it is set to, but when I dispatch to export, it's set back to the defcustom
specified in ob-ditaa.el
.
I did search far and wide for someone with a config that has this. I've found a few, but nothing seems to work.