summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-05-12 09:56:48 +0200
committerAlan Pearce2015-05-12 09:58:25 +0200
commit5e43b9cb4b60e14a33599be2a7a73ba094dc7a6b (patch)
treece8e84ab22214c0fd079ac1b9d2f25d4d5456813 /tag-emacs
parente4b09a2eedfa5af5b6f75e0a87723547d334a706 (diff)
downloaddotfiles-5e43b9cb4b60e14a33599be2a7a73ba094dc7a6b.tar.lz
dotfiles-5e43b9cb4b60e14a33599be2a7a73ba094dc7a6b.tar.zst
dotfiles-5e43b9cb4b60e14a33599be2a7a73ba094dc7a6b.zip
Emacs: Use dired-k outside projects, too
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 34a3d30..a51682b 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -291,10 +291,7 @@
 
 (req-package dired-k
   :init (progn
-          (defun ap/dired-k-if-vc ()
-            (when (projectile-project-root)
-              (dired-k)))
-          (add-hook 'dired-initial-position-hook #'ap/dired-k-if-vc)
+          (add-hook 'dired-initial-position-hook #'dired-k)
           (bind-key "g" #'dired-k dired-mode-map)))
 
 (req-package dired-x