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

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

Re: how can i kill all the buffers


From: HS
Subject: Re: how can i kill all the buffers
Date: 30 Jan 2007 08:51:01 -0800
User-agent: G2/1.0

I have this function here, i'm not the author...

(defun kill-all-buffers ()
  "Kill literally all buffers. This keeps Emacs from bloating."
  (interactive)
  (if (fboundp 'gnus-group-exit) (gnus-group-exit))
  (loop for x being buffers
    do (kill-buffer x)))


On 30 jan, 12:19, "step" <fxl...@gmail.com> wrote:
>  1. this is any command to kill all buffers ,not close the emacs
>
>  2. if only i  want to close the buffers of some mode (ep: c
> files),can i do it?
>
>  3x



reply via email to

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