Commit e4de7928a0e5

Vincent Demeester <vincent@sbr.pm>
2015-05-25 22:36:00
Mini dired-async refactor
1 parent 77a2418
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -670,11 +670,17 @@
 *** Async
 
     =async.el= is a module for doing asynchronous processing in
-    Emacs. Let's load it as it's gonna be useful.
+    Emacs. Let's load it as it's gonna be useful. Let's also load
+    =dired-async= for the copy & co to be run asynchroniously (very
+    useful with TRAMP).
 
     #+BEGIN_SRC emacs-lisp
       (use-package async
         :ensure t)
+      (use-package dired-async
+        :ensure t
+        :init
+        (dired-async-mode 1))
     #+END_SRC
 
 *** Dired
@@ -713,9 +719,7 @@
     Then, use nohup to not attach a process to emacs.
 
     #+BEGIN_SRC emacs-lisp
-      (use-package dired-aux
-        :config
-        (use-package dired-async))
+      (use-package dired-aux)
 
       (defvar dired-filelist-cmd
         '(("vlc" "-L")))