summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-03-11 11:28:05 +0100
committerAlan Pearce2016-03-11 11:28:05 +0100
commit74a696ac9835cd802628a49fbfc4f8cf333432ea (patch)
tree4eb15933e15049ea35fdcc73ece296155d243ed6 /tag-emacs
parent771cb159d960965603c6f0d44e34cb76f611d7d4 (diff)
downloadnixfiles-74a696ac9835cd802628a49fbfc4f8cf333432ea.tar.lz
nixfiles-74a696ac9835cd802628a49fbfc4f8cf333432ea.tar.zst
nixfiles-74a696ac9835cd802628a49fbfc4f8cf333432ea.zip
Emacs: Fix dired-narrow load error
Diffstat (limited to 'tag-emacs')
-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 83157690..4bbac2de 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1140,9 +1140,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