* lisp/mail/emacsbug.el (submit-emacs-patch): Use pop-to-buffer-same-window.

This allows customization with 'display-buffer-alist' (bug#65387).
This commit is contained in:
Juri Linkov 2023-11-16 09:25:23 +02:00
parent d72c974fd6
commit 7c65ccfc80

View file

@ -509,7 +509,7 @@ Message buffer where you can explain more about the patch."
(list (read-string (format-prompt "This patch is about" guess)
nil nil guess)
file)))
(switch-to-buffer "*Patch Help*")
(pop-to-buffer-same-window "*Patch Help*")
(let ((inhibit-read-only t))
(erase-buffer)
(insert "Thank you for considering submitting a patch to the Emacs project.\n\n"