fix(dired): require needed for `dirvish-side'
This prevents getting load errors when calling the command `+dired/dirvish-side-and-follow' before `dirvish' has been loaded.
This commit is contained in:
parent
9359a81e81
commit
73460f42fd
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ If dirvish is already open, remotely jump to the file in Dirvish.
|
|||
If given the prefix ARG, then prompt for a directory (replaces existing Dirvish
|
||||
sidebars)."
|
||||
(interactive "P")
|
||||
(require 'dirvish-side)
|
||||
(save-selected-window
|
||||
(let ((win (dirvish-side--session-visible-p)))
|
||||
(when (and win arg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue