Replace featurep with with-eval-after-load
This allows binding keys when dired-subtree is loaded at a later time.
This commit is contained in:
parent
eafb362f98
commit
b1d6db98c1
|
@ -189,7 +189,7 @@
|
|||
";e" 'epa-dired-do-encrypt)
|
||||
|
||||
;; dired-subtree commands
|
||||
(when (featurep 'dired-subtree)
|
||||
(with-eval-after-load 'dired-subtree
|
||||
(evil-collection-define-key 'normal 'dired-mode-map
|
||||
"I" 'dired-subtree-toggle
|
||||
(kbd "TAB") 'dired-subtree-cycle
|
||||
|
|
Loading…
Reference in New Issue