[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36497: pop-to-buffer + quit-window negates with-current-buffer
From: |
Stefan Kangas |
Subject: |
bug#36497: pop-to-buffer + quit-window negates with-current-buffer |
Date: |
Thu, 4 Jul 2019 21:33:54 +0200 |
martin rudalics <rudalics@gmx.at> writes:
> Both 'pop-to-buffer' and 'quit-window' may call 'select-window' which
> implicitly makes that window's buffer current. In the case at hand,
> 'quit-window' deletes the window of *bar* since it didn't exist
> before, selects the window selected before 'pop-to-buffer' was called
> and makes that window's buffer current. So the current behavior is
> the expected one.
Thanks for the detailed explanation -- that makes sense.
I'm closing the bug report. Sorry about the noise.
Thanks,
Stefan Kangas