summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2016-03-06 18:23:03 +0100
committerAlan Pearce2016-03-06 18:23:03 +0100
commit54057e2086a7d7686ebb1343c11f7ee0e7436a15 (patch)
tree70bea535b92abcc77f9caf2cdf38ff312c3555d2 /tag-emacs/emacs.d
parent6ed46d62249d7ada3f1203a6f03d7fa8bc58ae0c (diff)
downloaddotfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.tar.lz
dotfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.tar.zst
dotfiles-54057e2086a7d7686ebb1343c11f7ee0e7436a15.zip
Emacs: Load dired-narrow after dired
Diffstat (limited to 'tag-emacs/emacs.d')
-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 280dfa3..50d35ba 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