summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-05-13 17:27:05 +0200
committerAlan Pearce2015-05-13 17:27:05 +0200
commit524921e83da6b5b914e1de80e9b504efc4987ebd (patch)
tree14f4c35c4ecf729c477e9db3916c491f93ff9a8e /tag-emacs
parenta150cf5b6a865eb1e8762cac4c3d4aa3b51039bd (diff)
downloadnixfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.tar.lz
nixfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.tar.zst
nixfiles-524921e83da6b5b914e1de80e9b504efc4987ebd.zip
Emacs: Fix dired-k initialisation
Diffstat (limited to 'tag-emacs')
-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 a55d817f..0fdec48b 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)