all repos — nixfiles @ 524921e83da6b5b914e1de80e9b504efc4987ebd

System and user configuration, managed by nix and home-manager

Emacs: Fix dired-k initialisation
Alan Pearce alan.pearce@spotcap.com
Wed, 13 May 2015 17:27:05 +0200
commit

524921e83da6b5b914e1de80e9b504efc4987ebd

parent

a150cf5b6a865eb1e8762cac4c3d4aa3b51039bd

1 files changed, 4 insertions(+), 3 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -293,9 +293,10 @@ (put 'dired-find-alternate-file 'disabled nil))) 
 (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)