Use use-package
to define autoload of dired-x
This also add autoload for `dired-omit-mode` which fixes #5705
This commit is contained in:
parent
0dc19d127b
commit
f651969d12
|
@ -95,11 +95,10 @@
|
|||
"jD" 'dired-jump-other-window))
|
||||
|
||||
(defun spacemacs-base/init-dired-x ()
|
||||
(autoload 'dired-jump "dired-x"
|
||||
"Jump to Dired buffer corresponding to current buffer." t)
|
||||
|
||||
(autoload 'dired-jump-other-window "dired-x"
|
||||
"Like \\[dired-jump] (dired-jump) but in other window." t))
|
||||
(use-package dired-x
|
||||
:commands (dired-jump
|
||||
dired-jump-other-window
|
||||
dired-omit-mode)))
|
||||
|
||||
(defun spacemacs-base/init-eldoc ()
|
||||
(use-package eldoc
|
||||
|
|
Loading…
Reference in a new issue