display-buffer--maybe-same-window

display-buffer--maybe-same-window is a compiled Lisp function in `window.el'.

(display-buffer--maybe-same-window BUFFER ALIST)

Conditionally display BUFFER in the selected window.
If `same-window-p' returns non-nil for BUFFER's name, call
`display-buffer-same-window' and return its value. Otherwise,
return nil.