From 7c65ccfc8011e59c39c72adbe604d6325dc5a434 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 16 Nov 2023 09:25:23 +0200 Subject: [PATCH] * lisp/mail/emacsbug.el (submit-emacs-patch): Use pop-to-buffer-same-window. This allows customization with 'display-buffer-alist' (bug#65387). --- lisp/mail/emacsbug.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index bebaad720db..409ef7165fe 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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" -- 2.39.2