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

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

Re: Killing all buffers


From: Harald Hanche-Olsen
Subject: Re: Killing all buffers
Date: Sun, 11 Feb 2007 18:02:51 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (berkeley-unix)

+ Joost Kremers <joostkremers@yahoo.com>:

| Alberto Simões wrote:
|> Is there any way to kill all buffers (and get prompted about the ones 
|> not saved)?
|>
|>  From time to time I like to kill all opened buffers (for instance when 
|> changing from projects), and it takes me a long time killing one at a time.
|
| there is a command kill-some-buffers, which asks you for each open buffer
| if you want it killed.
|
| you still need to type yes or no for each buffer, so in actual fact it may
| be less trouble just to kill and restart emacs...

As usual, google is your friend.  There is a solution here, at the
second hit on googling for   emacs "kill all buffers"  :

  http://www.shallowsky.com/dotfiles/.emacs

It calls kill-buffer on each buffer, which means no questions asked
unless the buffer is unsaved.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- It is undesirable to believe a proposition
  when there is no ground whatsoever for supposing it is true.
  -- Bertrand Russell


reply via email to

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