summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-05-13 17:27:05 +0200
committerAlan Pearce2015-05-13 17:27:05 +0200
commit524921e83da6b5b914e1de80e9b504efc4987ebd (patch)
tree14f4c35c4ecf729c477e9db3916c491f93ff9a8e
parenta150cf5b6a865eb1e8762cac4c3d4aa3b51039bd (diff)
downloaddotfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.tar.lz
dotfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.tar.zst
dotfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.zip
Emacs: Fix dired-k initialisation
-rw-r--r--tag-emacs/emacs.d/init.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index a55d817..0fdec48 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -293,9 +293,10 @@
 
 (req-package dired-k
   :init (progn
-          (add-hook 'dired-initial-position-hook #'dired-k)
-          (setq dired-k-human-readable t)
-          (bind-key "g" #'dired-k dired-mode-map)))
+          (add-hook 'dired-initial-position-hook #'dired-k))
+  :config (progn
+            (setq dired-k-human-readable t)
+            (bind-key "g" #'dired-k dired-mode-map)))
 
 (req-package dired-x
   :require dired)