]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/mail/emacsbug.el (submit-emacs-patch): Use pop-to-buffer-same-window.
authorJuri Linkov <juri@linkov.net>
Thu, 16 Nov 2023 07:25:23 +0000 (09:25 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 16 Nov 2023 07:25:23 +0000 (09:25 +0200)
This allows customization with 'display-buffer-alist' (bug#65387).

lisp/mail/emacsbug.el

index bebaad720db6ba080993966f8e35ff0314310782..409ef7165fe2aa87a5250c952bf6840cc5a079e4 100644 (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"