all repos — archive/dotfiles @ 562154e68c8ff3f1a02b53c92689e15632475d13

Superseded by nixfiles

Emacs: defer loading of more modes
Alan Pearce alan@alanpearce.co.uk
Sat, 21 Jun 2014 22:55:13 +0100
commit

562154e68c8ff3f1a02b53c92689e15632475d13

parent

fdead2d11316c1acb06027765d01a81071bcf34d

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -55,6 +55,7 @@ (req-package linum   :config (setq linum-format " %4d "))
 
 (req-package whitespace
+  :defer t
   :config (setq whitespace-style
                 '(face
                   space
@@ -721,6 +722,7 @@ (eshell/cd dir))) (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-<f3>" #'mc/mark-more-like-this-extended)             (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)