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

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

Re: Remove all directory listings buffers


From: Andreas Politz
Subject: Re: Remove all directory listings buffers
Date: Sat, 28 Nov 2009 23:43:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

"Drew Adams" <drew.adams@oracle.com> writes:

>> But I also always end up having too many buffers, I need a better
>> strategy for killing them when I don't need them anymore..
>
> I think some people are in the habit of using `C-x 0' to remove the current
> window, even when they no longer need the window's buffer.
>
>
> I use this as a replacement for `kill-buffer' interactively (only):
>


No need for a library :

,----[ C-h f kill-buffer-and-window RET ]
| kill-buffer-and-window is an interactive compiled Lisp function in
| `window.el'.
| 
| It is bound to C-x 4 0.
| 
| (kill-buffer-and-window)
| 
| Kill the current buffer and delete the selected window.
| 
| [back]
`----

-ap





reply via email to

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