diff options
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 5 |
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 |