Emacs: More defer
Alan Pearce alan.pearce@spotcap.com
Mon, 16 Nov 2015 09:57:27 +0100
1 files changed, 12 insertions(+), 7 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -503,6 +503,7 @@ An awesome way to open files on OS X. #+BEGIN_SRC emacs-lisp (req-package spotlight + :defer 10 :if (eq system-type 'darwin) :config (setq spotlight-tmp-file "/tmp/.emacs-spotlight-tmp-file")) #+END_SRC @@ -935,6 +936,7 @@ #+END_SRC #+BEGIN_SRC emacs-lisp (req-package dired+ + :defer 5 :require dired :config (progn (diredp-toggle-find-file-reuse-dir 1) @@ -1561,7 +1563,7 @@ ***** TODO Setup org-mobile #+BEGIN_SRC emacs-lisp (req-package org-mobile :require org - :defer t + :defer 30 :config (progn (setq org-mobile-directory "~/Mobile/Org" org-mobile-inbox-for-pull "~/Mobile/Org/from-mobile.org") @@ -1900,6 +1902,7 @@ #+BEGIN_SRC emacs-lisp (req-package tern :commands ap/enable-tern + :defer 5 :config (progn (setq tern-command (list (executable-find "tern"))) (defun ap/enable-tern () @@ -1907,6 +1910,7 @@ (tern-mode 1)) (add-hook 'js2-mode-hook #'ap/enable-tern))) (req-package company-tern + :defer 5 :require (tern company)) #+END_SRC @@ -2130,12 +2134,13 @@ =Align= is a useful command to line things up, once given some rules. The most important one for me is JSON property alignment. #+BEGIN_SRC emacs-lisp -(req-package align - :config (progn - (add-to-list 'align-rules-list - '(colon-key-value - (regexp . ":\\(\\s-*\\)") - (modes . '(js2-mode)))))) + (req-package align + :defer 10 + :config (progn + (add-to-list 'align-rules-list + '(colon-key-value + (regexp . ":\\(\\s-*\\)") + (modes . '(js2-mode)))))) #+END_SRC ** Clipboard