aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2023-04-14 17:00:03 +0200
committerTimo Wilken2023-04-14 17:00:03 +0200
commit97aa03f3c3d79018754a5cbd3f539ee61f576eea (patch)
tree862583f1a1597bbbcff2136e5a6602111dc26e96
parentb27a8ee8a8ac59e0902655cd9aef05fa2b826f56 (diff)
Lazy-load org-mode
-rw-r--r--tw/home/files/emacs-init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index d415484b..d57c5162 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -344,6 +344,8 @@
;; Org-mode
(use-package org
+ :commands (org-mode)
+ :mode (rx ".org" eos)
:custom
(org-latex-src-block-backend 'minted "Colourise source code.")
(org-latex-packages-alist