Function: hpath:find-other-frame

hpath:find-other-frame is an interactive and byte-compiled function defined in hpath.el.

Signature

(hpath:find-other-frame FILENAME)

Documentation

Edit file FILENAME in another frame.

May create a new frame or reuse an existing one. See documentation of hpath:find for details. Return the buffer of displayed file.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defun hpath:find-other-frame (filename)
  "Edit file FILENAME in another frame.
May create a new frame or reuse an existing one.
See documentation of `hpath:find' for details.
Return the buffer of displayed file."
  (interactive "FFind file in other frame: ")
  (if (= (length (frame-list)) 1)
      (if (fboundp 'id-create-frame)
	  (id-create-frame)
	(select-frame (make-frame)))
    (other-frame 1))
  (if (br-in-browser)
      (br-to-view-window))
  (find-file filename))