From 512cd43b1ae36c6f39569b81958d9e94053c40f6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 16 Nov 2015 09:57:27 +0100 Subject: Emacs: More defer --- tag-emacs/emacs.d/init.org | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'tag-emacs/emacs.d/init.org') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index d23d2398..5f308ac7 100644 --- a/tag-emacs/emacs.d/init.org +++ b/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 @@ Don’t show uninteresting files in dired listings. #+BEGIN_SRC emacs-lisp (req-package dired+ + :defer 5 :require dired :config (progn (diredp-toggle-find-file-reuse-dir 1) @@ -1561,7 +1563,7 @@ I can use this to keep a journal. I should use it. #+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 @@ completions, besides other IDE-like things. #+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 @@ completions, besides other IDE-like things. (add-hook 'js2-mode-hook #'ap/enable-tern))) (req-package company-tern + :defer 5 :require (tern company)) #+END_SRC @@ -2130,12 +2134,13 @@ Emacs has an editor within. 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 -- cgit 1.4.1