Function: dired-other-window
dired-other-window is an autoloaded, interactive and byte-compiled
function defined in dired.el.gz.
Signature
(dired-other-window DIRNAME &optional SWITCHES)
Documentation
"Edit" directory DIRNAME. Like dired but select in another window.
Probably introduced at or before Emacs version 26.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
;;;###autoload (define-key ctl-x-4-map "d" 'dired-other-window)
;;;###autoload
(defun dired-other-window (dirname &optional switches)
"\"Edit\" directory DIRNAME. Like `dired' but select in another window."
(interactive (dired-read-dir-and-switches "in other window "))
(switch-to-buffer-other-window (dired-noselect dirname switches)))