summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.org
diff options
context:
space:
mode:
authorAlan Pearce2015-11-16 09:57:27 +0100
committerAlan Pearce2015-11-16 09:57:27 +0100
commit512cd43b1ae36c6f39569b81958d9e94053c40f6 (patch)
treef90eec4c3e62dfa8bd3b550e35eec85a7f3bca40 /tag-emacs/emacs.d/init.org
parente2fd5162a7e0018c911865f85b2d5dbf73020ed3 (diff)
downloaddotfiles-512cd43b1ae36c6f39569b81958d9e94053c40f6.tar.lz
dotfiles-512cd43b1ae36c6f39569b81958d9e94053c40f6.tar.zst
dotfiles-512cd43b1ae36c6f39569b81958d9e94053c40f6.zip
Emacs: More defer
Diffstat (limited to 'tag-emacs/emacs.d/init.org')
-rw-r--r--tag-emacs/emacs.d/init.org19
1 files changed, 12 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index d23d239..5f308ac 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