Function: magit-display-buffer-fullframe-status-topleft-v1
magit-display-buffer-fullframe-status-topleft-v1 is a byte-compiled
function defined in magit-mode.el.
Signature
(magit-display-buffer-fullframe-status-topleft-v1 BUFFER)
Documentation
Display BUFFER, filling entire frame if BUFFER is a status buffer.
When BUFFER derives from magit-diff-mode or
magit-process-mode, try to display BUFFER to the top or left of
the current buffer rather than to the bottom or right, as
magit-display-buffer-fullframe-status-v1 would. Whether the
split is made vertically or horizontally is determined by
split-window-preferred-function.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-display-buffer-fullframe-status-topleft-v1 (buffer)
"Display BUFFER, filling entire frame if BUFFER is a status buffer.
When BUFFER derives from `magit-diff-mode' or
`magit-process-mode', try to display BUFFER to the top or left of
the current buffer rather than to the bottom or right, as
`magit-display-buffer-fullframe-status-v1' would. Whether the
split is made vertically or horizontally is determined by
`split-window-preferred-function'."
(display-buffer
buffer
(cond ((eq (with-current-buffer buffer major-mode)
'magit-status-mode)
'(magit--display-buffer-fullframe))
((with-current-buffer buffer
(derived-mode-p 'magit-diff-mode 'magit-process-mode))
'(magit--display-buffer-topleft))
('(display-buffer-same-window)))))