[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Remove all directory listings buffers
From: |
Drew Adams |
Subject: |
RE: Remove all directory listings buffers |
Date: |
Sat, 28 Nov 2009 18:55:16 -0800 |
Replying to my own post, after checking the Emacs 23 code.
> > C-h f kill-buffer-and-window RET
>
> Not the same, is it? Take a look at the code.
> If you prefer that, go right ahead and use it.
>
> * I prefer that it be usable for any buffer, not just the
> current one (default).
>
> * I prefer that all of the windows showing the buffer be
> deleted, not just the selected one.
>
> * I prefer not to have to confirm by typing `y e s RET'
> instead of `RET'.
Well, they got rid of that nuisance, at least. I sometimes use older versions of
Emacs, however, where you need to confirm with `yes'.
> * I prefer that the window not be deleted if `kill-buffer'
> doesn't kill the buffer (e.g. if it was modified and I
> said not to kill it after all).
Ditto. They fixed that also in recent versions.
> * I prefer that no error be raised if not interactive and the
> buffer is not live. (Yes, I do use this non-interactively also.)
Message not available