Commit 77a2418cd9ff

Vincent Demeester <vincent@sbr.pm>
2015-05-25 22:19:26
Add dired-async load after dired-aux (and move async up)
1 parent 26cb02d
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -667,6 +667,16 @@
                    (add-hook 'prog-mode-hook
                              (lambda () (rainbow-identifiers-mode))))
     #+END_SRC
+*** Async
+
+    =async.el= is a module for doing asynchronous processing in
+    Emacs. Let's load it as it's gonna be useful.
+
+    #+BEGIN_SRC emacs-lisp
+      (use-package async
+        :ensure t)
+    #+END_SRC
+
 *** Dired
 
     Dired is really a cool mode, let's enhance it.
@@ -703,7 +713,9 @@
     Then, use nohup to not attach a process to emacs.
 
     #+BEGIN_SRC emacs-lisp
-      (use-package dired-aux)
+      (use-package dired-aux
+        :config
+        (use-package dired-async))
 
       (defvar dired-filelist-cmd
         '(("vlc" "-L")))
@@ -1110,17 +1122,6 @@
      #+END_SRC
 
 
-*** Async
-
-    =async.el= is a module for doing asynchronous processing in
-    Emacs. Let's load it as it's gonna be useful.
-
-
-    #+BEGIN_SRC emacs-lisp
-      (use-package async
-        :ensure t)
-    #+END_SRC
-
 ** Server mode
 
    Start a server in not already running. I usually start emacs as a
@@ -2294,8 +2295,6 @@
     #+BEGIN_SRC emacs-lisp
       (use-package org-capture)
       (use-package org-protocol)
-      (use-package async
-        :ensure t)
       (setq org-protocol-default-template-key "l")
       (push '("l" "Link" entry (function org-handle-link)
               "* TODO %(org-wash-link)\nAdded: %U\n%(org-link-hooks)\n%?")