Variable: with-editor-server-window-alist
with-editor-server-window-alist is a variable defined in
with-editor.el.
Value
(("/git-rebase-todo\\'" . switch-to-buffer)
("/\\(\\(\\(COMMIT\\|NOTES\\|PULLREQ\\|MERGEREQ\\|TAG\\)_EDIT\\|MERGE_\\|\\)MSG\\|\\(BRANCH\\|EDIT\\)_DESCRIPTION\\)\\'"
. switch-to-buffer))
Documentation
Alist of filename patterns vs corresponding server-window.
Each element looks like (REGEXP . FUNCTION). Files matching
REGEXP are selected using FUNCTION instead of the default in
server-window.
Note that when a package adds an entry here then it probably
has a reason to disrespect server-window and it likely is
not a good idea to change such entries.
Source Code
;; Defined in ~/.emacs.d/elpa/with-editor-20260301.1317/with-editor.el
(defvar with-editor-server-window-alist nil
"Alist of filename patterns vs corresponding `server-window'.
Each element looks like (REGEXP . FUNCTION). Files matching
REGEXP are selected using FUNCTION instead of the default in
`server-window'.
Note that when a package adds an entry here then it probably
has a reason to disrespect `server-window' and it likely is
not a good idea to change such entries.")