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 '("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.