From 3c91283f031a79c2d8359b9207062581ba984320 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 23 Nov 2022 11:07:27 -0900 Subject: [PATCH] Tweaks to org loading --- lisp/mitch-packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 1f4c0f8..105fbf4 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -626,6 +626,7 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode (add-to-list 'org-structure-template-alist '("el" . "src elisp")) (add-to-list 'org-structure-template-alist '("html" . "src html"))) (use-package org-variable-pitch + :after org :if (display-graphic-p) :diminish (buffer-face-mode org-variable-pitch-minor-mode) :custom-face (org-meta-line @@ -648,7 +649,7 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode :diminish :hook (org-mode . org-pretty-table-mode)) (use-package ox-hugo - :after ox + :after org :config (defun hugo-dir-above (dir) "Return path of Hugo project root above or at DIR.