From 5e43b9cb4b60e14a33599be2a7a73ba094dc7a6b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 May 2015 09:56:48 +0200 Subject: Emacs: Use dired-k outside projects, too --- tag-emacs/emacs.d/init.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 34a3d305..a51682b9 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 -- cgit 1.4.1