I currently have `org-html-head` set to use some custom CSS and JS, which is great for websites, but looks really dumb in an email. As such, I'm trying to override it when writing an email in `org-msg`. I have tried adding
:hook
(org-msg-edit-mode . (lambda() (make-variable-buffer-local 'org-html-head)
(setq-local org-html-head nil)))
to my use-package for `org-msg`, which has successfully set it to `nil` in the `drafts` buffer, but did not change the exported html file (I assume the export command is being called in some other buffer).
Is there a way to do this?