Variable: hpath:display-buffer-alist

hpath:display-buffer-alist is a variable defined in hpath.el.

Value

((this-window switch-to-buffer)
 (other-window
  #[257 "\300 \203\f�\301 \210\302!\207\303!\207"
	[br-in-browser br-to-view-window switch-to-buffer switch-to-buffer-other-window]
	3 "\n\n(fn B)"])
 (one-window
  #[257 "\300 \203�\301 \210\302 \210\303!\207"
	[br-in-browser br-quit delete-other-windows switch-to-buffer]
	3 "\n\n(fn B)"])
 (new-frame
  #[257 "\300\301!\210\302\303\304 !!\210\305!\207"
	[run-hooks mouse-leave-buffer-hook select-frame make-frame frame-parameters switch-to-buffer]
	4 "\n\n(fn B)"])
 (other-frame hpath:display-buffer-other-frame)
 (other-frame-one-window
  #[257 "\300!\301 \210\207"
	[hpath:display-buffer-other-frame delete-other-windows]
	3 "\n\n(fn B)"]))

Documentation

*Alist of (DISPLAY-WHERE-SYMBOL DISPLAY-BUFFER-FUNCTION) elements.

This permits fine-grained control of where Hyperbole displays linked to buffers.

The default value of DISPLAY-WHERE-SYMBOL is given by hpath:display-where. Valid DISPLAY-WHERE-SYMBOLs are:
    this-window - display in the current window
    other-window - display in another window in the current frame
    one-window - display in the current window, deleting other
                              windows
    new-frame - display in a new frame
    other-frame - display in another, possibly existing, frame
    other-frame-one-window - display in another frame, deleting other windows.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defvar hpath:display-buffer-alist
  (list
   (list 'this-window   #'switch-to-buffer)
   (list 'other-window  (lambda (b)
			  (if (br-in-browser)
			      (progn (br-to-view-window)
				     (switch-to-buffer b))
			    (switch-to-buffer-other-window b))))
   (list 'one-window    (lambda (b)
			  (when (br-in-browser)
			    (br-quit))
			  (delete-other-windows)
			  (switch-to-buffer b)))
   (list 'new-frame     (lambda (b)
			  ;; Give temporary modes such as isearch a chance to turn off.
			  (run-hooks 'mouse-leave-buffer-hook)
			  (select-frame (make-frame (frame-parameters)))
			  (switch-to-buffer b)))
   (list 'other-frame   #'hpath:display-buffer-other-frame)
   (list 'other-frame-one-window   (lambda (b)
				     (prog1 (hpath:display-buffer-other-frame b)
				       (delete-other-windows)))))
  "*Alist of (DISPLAY-WHERE-SYMBOL  DISPLAY-BUFFER-FUNCTION) elements.
This permits fine-grained control of where Hyperbole displays linked to buffers.

The default value of DISPLAY-WHERE-SYMBOL is given by `hpath:display-where'.
Valid DISPLAY-WHERE-SYMBOLs are:
    this-window             - display in the current window
    other-window            - display in another window in the current frame
    one-window              - display in the current window, deleting other
                              windows
    new-frame               - display in a new frame
    other-frame             - display in another, possibly existing, frame
    other-frame-one-window  - display in another frame, deleting other windows.")