summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-05-12 09:18:39 +0200
committerAlan Pearce2023-05-12 09:18:39 +0200
commit50c9f04d5b9b53667dc63ed40a6dafbc13ce1dc6 (patch)
tree3b06ccee517fea968277c70480c20c91db96156f /user
parent0a1100beaed40bdfe39ad17a2b5d0f72f7de18fb (diff)
downloadnixfiles-50c9f04d5b9b53667dc63ed40a6dafbc13ce1dc6.tar.lz
nixfiles-50c9f04d5b9b53667dc63ed40a6dafbc13ce1dc6.tar.zst
nixfiles-50c9f04d5b9b53667dc63ed40a6dafbc13ce1dc6.zip
emacs: optimise loading org-mode
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 0e05a26f..855f129e 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -831,8 +831,12 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
 ;;;; org
 
-(setq org-ellipsis "…"
-      org-directory "~/Documents/org")
+(use-package org
+  :defer 10
+  :config (progn
+            (setq org-ellipsis "…"
+                  org-modules nil
+                  org-directory "~/Documents/org")))
 
 ;;;; web modes (html)