bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36917: 27.0.50; debbugs-gnu: Don't hardcode switch-to-buffer


From: Noam Postavsky
Subject: bug#36917: 27.0.50; debbugs-gnu: Don't hardcode switch-to-buffer
Date: Sun, 18 Aug 2019 10:59:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Use 'pop-to-buffer-same-window' instead of 'switch-to-buffer' to
> display bug reports so user can configure behavior via
> 'display-buffer-alist' (Bug#36917).
>
> * packages/debbugs/debbugs-gnu.el (debbugs-gnu-show-reports): Use
> 'pop-to-buffer-same-window' to display bug reports.

I think you can combine these two paragraphs.

> I didn't have a look at the other remaining `switch-to-buffer' calls.
> Noam, did you mean to substitute all of them?

If you think you might want to control the buffer switching of those
other functions with display-buffer-alist, then yes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]