emacs-devel
[Top][All Lists]
Advanced

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

Re: quit-window


From: Chong Yidong
Subject: Re: quit-window
Date: Tue, 25 Oct 2011 11:59:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Juri Linkov <address@hidden> writes:

> `quit-window-kill-buffer' is useful when you need to return to the
> initial window from which this buffer was displayed and also to delete
> the window when the current buffer is last in its window history.
>
> Sometimes this behavior is dangerous, e.g. when wanting to kill all
> buffers visited in the selected window one by one,

I don't think it's necessary to introduce a separate command for this.
If we introduce a quit-window-hook, you can add a hook function that
conditionally kills the buffer based on its major mode.



reply via email to

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