Tweaks to org loading

This commit is contained in:
MitchMarq42 2022-11-23 11:07:27 -09:00
parent 6c534c77a2
commit 3c91283f03

View File

@ -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 '("el" . "src elisp"))
(add-to-list 'org-structure-template-alist '("html" . "src html"))) (add-to-list 'org-structure-template-alist '("html" . "src html")))
(use-package org-variable-pitch (use-package org-variable-pitch
:after org
:if (display-graphic-p) :if (display-graphic-p)
:diminish (buffer-face-mode org-variable-pitch-minor-mode) :diminish (buffer-face-mode org-variable-pitch-minor-mode)
:custom-face (org-meta-line :custom-face (org-meta-line
@ -648,7 +649,7 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode
:diminish :diminish
:hook (org-mode . org-pretty-table-mode)) :hook (org-mode . org-pretty-table-mode))
(use-package ox-hugo (use-package ox-hugo
:after ox :after org
:config :config
(defun hugo-dir-above (dir) (defun hugo-dir-above (dir)
"Return path of Hugo project root above or at DIR. "Return path of Hugo project root above or at DIR.