diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 66e339d4c..96360c885 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -301,6 +301,12 @@ I like: (after! org-capture (org-capture-put :kill-buffer t)) + ;; HACK Doom doesn't support `customize'. Best not to advertise it as an + ;; option in `org-capture's menu. + (defadvice! +org--remove-customize-option-a (orig-fn table title &optional prompt specials) + :around #'org-mks + (funcall orig-fn table title prompt (remove '("C" "Customize org-capture-templates") specials))) + (defadvice! +org--capture-expand-variable-file-a (file) "If a variable is used for a file path in `org-capture-template', it is used as is, and expanded relative to `default-directory'. This changes it to be