Function: trashed-mouse-find-file-other-window

trashed-mouse-find-file-other-window is an interactive and natively compiled function defined in trashed.el.

Signature

(trashed-mouse-find-file-other-window EVENT)

Documentation

Visit the file you click on in another window.

EVENT is the mouse click event.

Key Bindings

trashed-mode-map <mouse-2>

Source Code

;; Defined in /nix/store/7ppdacjhnynz276lxxnfw8sdz6r2k6h2-emacs-packages-deps/share/emacs/site-lisp/elpa/trashed-20230811.157/trashed.el
(defun trashed-mouse-find-file-other-window (event)
  "Visit the file you click on in another window.
EVENT is the mouse click event."
  (interactive "e")
  (with-current-buffer (window-buffer (posn-window (event-end event)))
    (goto-char (posn-point (event-end event)))
    (trashed-open-file 'find-file-other-window)))