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: martin rudalics
Subject: bug#6454: 24.0.50; kill-buffer switches current-buffer
Date: Mon, 21 Jun 2010 17:49:44 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> 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?

martin





reply via email to

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