[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6454: 24.0.50; kill-buffer switches current-buffer

From: Stefan Monnier
Subject: bug#6454: 24.0.50; kill-buffer switches current-buffer
Date: Fri, 18 Jun 2010 09:54:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> So this is another incarnation of the "buffer shown in the selected
> window is not necessarily the current buffer" dichotomy.

I know that kill-buffer should not change current-buffer.  It does do so
in corner cases and that's a bug (which I've already worked around in
some parts of the Elisp code because I couldn't figure out how to fix
Fkill_buffer instead).

> Looks like a bug but I'm not sure whether fixing it could break
> other things.

If the fix only affects kill-buffer, then it's likely safe.


reply via email to

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