summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-03-06 18:23:03 +0100
committerAlan Pearce2016-03-06 18:23:03 +0100
commit54057e2086a7d7686ebb1343c11f7ee0e7436a15 (patch)
tree70bea535b92abcc77f9caf2cdf38ff312c3555d2
parent6ed46d62249d7ada3f1203a6f03d7fa8bc58ae0c (diff)
downloadnixfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.tar.lz
nixfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.tar.zst
nixfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.zip
Emacs: Load dired-narrow after dired
-rw-r--r--tag-emacs/emacs.d/init.org7
1 files changed, 4 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 280dfa37..50d35baf 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1087,9 +1087,10 @@ to start filtering, =RET= to complete the filter and =g= to refresh
 the buffer, removing the filter.
 
 #+BEGIN_SRC emacs-lisp
-  (use-package dired-narrow
-    :bind (:map dired-mode-map
-                ("/" . dired-narrow)))
+  (with-eval-after-load 'dired
+    (use-package dired-narrow
+      :bind (:map dired-mode-map
+                  ("/" . dired-narrow))))
 #+END_SRC
 
 * Documentation