Function: locate-find-directory-other-window
locate-find-directory-other-window is an interactive and byte-compiled
function defined in locate.el.gz.
Signature
(locate-find-directory-other-window)
Documentation
Visit the directory of the file named on this line in other window.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/locate.el.gz
(defun locate-find-directory-other-window ()
"Visit the directory of the file named on this line in other window."
(interactive nil locate-mode)
(if (locate-main-listing-line-p)
(find-file-other-window (locate-get-dirname))
(message "This command only works inside main listing.")))