summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
authorAlan Pearce2014-06-21 22:55:13 +0100
committerAlan Pearce2014-06-21 22:55:13 +0100
commit562154e68c8ff3f1a02b53c92689e15632475d13 (patch)
tree5e2944bf00dc98d96f39cd393e6e4b926d7f2ff6 /tag-emacs/emacs.d/init.el
parentfdead2d11316c1acb06027765d01a81071bcf34d (diff)
downloadnixfiles-562154e68c8ff3f1a02b53c92689e15632475d13.tar.lz
nixfiles-562154e68c8ff3f1a02b53c92689e15632475d13.tar.zst
nixfiles-562154e68c8ff3f1a02b53c92689e15632475d13.zip
Emacs: defer loading of more modes
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 8caf1c76..2c0cd72b 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -55,6 +55,7 @@
   :config (setq linum-format " %4d "))
 
 (req-package whitespace
+  :defer t
   :config (setq whitespace-style
                 '(face
                   space
@@ -721,6 +722,7 @@
 (bind-key "C-c S" #'eshell-goto-current-dir)
 
 (req-package shell
+  :defer t
   :config (define-key shell-mode-map
             (kbd "C-d") 'comint-delchar-or-eof-or-kill-buffer))
 
@@ -804,6 +806,7 @@
             (bind-key "C-S-L" #'mc/edit-lines)))
 
 (req-package eldoc
+  :commands (eldoc-mode)
   :diminish eldoc-mode
   :config (progn
             (eldoc-add-command 'paredit-backward-delete 'paredit-close-round 'autopair-insert-opening)