[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6454: 24.0.50; kill-buffer switches current-buffer
From: |
Helmut Eller |
Subject: |
bug#6454: 24.0.50; kill-buffer switches current-buffer |
Date: |
Sun, 20 Jun 2010 09:48:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
* martin rudalics [2010-06-19 15:38+0200] writes:
> Helmut, please try whether the attached patch fixes your bug.
Yes, the patch fixes my immediate problem. Thanks.
I'm wondering a bit though: kill-buffer protects the current buffer
while calling kill-buffer-hook. Wouldn't it be prudent to do that for
the entire function?
Actually, I think there is a small bug there: if kill-buffer-hook is a
list of functions, the first function could potentially switch buffer
and the second function would be called in the wrong buffer.
[The change in window_loop looks like good thing either way.]
Helmut
bug#6454: 24.0.50; kill-buffer switches current-buffer, martin rudalics, 2010/06/19
- bug#6454: 24.0.50; kill-buffer switches current-buffer,
Helmut Eller <=
- bug#6454: 24.0.50; kill-buffer switches current-buffer, martin rudalics, 2010/06/20
- bug#6454: 24.0.50; kill-buffer switches current-buffer, Helmut Eller, 2010/06/20
- bug#6454: 24.0.50; kill-buffer switches current-buffer, martin rudalics, 2010/06/21
- bug#6454: 24.0.50; kill-buffer switches current-buffer, Helmut Eller, 2010/06/21
- bug#6454: 24.0.50; kill-buffer switches current-buffer, martin rudalics, 2010/06/21
- bug#6454: 24.0.50; kill-buffer switches current-buffer, Helmut Eller, 2010/06/21
- bug#6454: 24.0.50; kill-buffer switches current-buffer, martin rudalics, 2010/06/21
bug#6454: 24.0.50; kill-buffer switches current-buffer, Stefan Monnier, 2010/06/24