From: Juri Linkov Date: Thu, 16 Nov 2023 07:25:23 +0000 (+0200) Subject: * lisp/mail/emacsbug.el (submit-emacs-patch): Use pop-to-buffer-same-window. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c65ccfc8011e59c39c72adbe604d6325dc5a434;p=emacs.git * lisp/mail/emacsbug.el (submit-emacs-patch): Use pop-to-buffer-same-window. This allows customization with 'display-buffer-alist' (bug#65387). --- 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"