Fix dired-x dired-jump autoload
This commit is contained in:
parent
abd9ef6892
commit
7ca64553ed
|
@ -13,6 +13,7 @@
|
|||
'(
|
||||
(bookmark :location built-in)
|
||||
diminish
|
||||
(dired-x :location built-in)
|
||||
(electric-indent-mode :location built-in)
|
||||
(ediff :location built-in)
|
||||
(eldoc :location built-in)
|
||||
|
@ -83,6 +84,13 @@
|
|||
(when (eval-when-compile (version< "24.3.1" emacs-version))
|
||||
(diminish 'subword-mode))))))
|
||||
|
||||
(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))
|
||||
|
||||
(defun spacemacs-base/init-eldoc ()
|
||||
(use-package eldoc
|
||||
:defer t
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
(require 'dired-x)
|
||||
(define-key evil-normal-state-map (kbd "-") 'dired-jump)
|
||||
|
||||
(add-hook 'dired-mode-hook 'vinegar/dired-setup)
|
||||
|
|
Loading…
Reference in a new issue