[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: |
Thu, 22 Sep 2011 09:07:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
* Lars Magne Ingebrigtsen [2011-09-21 20:44] writes:
> martin rudalics <rudalics@gmx.at> writes:
>
>>> Yes, right. I forgot about Qkill_buffer_query_functions and only dealt
>>> with Qkill_buffer_hook.
>>
>> So this is quite a substantial change ;-)
>>
>> Anyway. As I said I shall run my Emacs now with your change and look
>> whether it breaks something. If necessary, we should make this then a
>> `kill-buffer'-only change though.
>
> The original bug reported was fixed, and then a followup was also
> fixed. But reading the thread a couple times, I'm not sure whether
> everything was resolved here. :-)
The original test case was fixed, so I think the bug should be closed.
The hook issue was essentially resolved here:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2010-06/msg00527.html
Nobody changed the docstring. kill-buffer still uses a save-excursion
which is not quite necessary because hook functions shouldn't change
the buffer anyway.
Helmut