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

[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: Mon, 21 Jun 2010 18:19:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

* martin rudalics [2010-06-21 17:49+0200] writes:

>> My run_hook_in_buffer is (static) in buffer.c and only used by
>> Fkill_buffer.  The refactoring in eval.c was only needed to make it
>> possible to iterate over the functions of a hook.  It shouldn't affect
>> other things (modulo bugs that I introduced).
>
> I meant Frun_hook_with_args_until_failure which calls run_hook_with_args
> which is now handled by DO_HOOK_FUNCTIONS.  IIUC in order to not affect
> other invocations of run_hook_with_args you would have to iterate over
> the Qkill_buffer_query_functions within Fkill_buffer.  Or am I missing
> something?

Yes, right.  I forgot about Qkill_buffer_query_functions and only dealt
with Qkill_buffer_hook.

Helmut





reply via email to

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