mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user