emacs-devel
[Top][All Lists]
Advanced

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

Re: other-buffer advice on kill-buffer


From: Chong Yidong
Subject: Re: other-buffer advice on kill-buffer
Date: Sun, 14 Aug 2011 13:16:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Jérémy Compostella <address@hidden> writes:

> I'm trying to modify the behavior of the kill-buffer function to fit my
> needs. I would like to limit the list of eligible buffers used to select
> the buffer which will be displayed in place of the killed buffer.
>
> I have tried to advice the other-buffer function which seems called
> (Cf. buffer.c)

You probably want to define a custom kill-buffer command, and bind that
command to C-x k, instead of advising kill-buffer.



reply via email to

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