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

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

Re: Killing all buffers


From: Stefan Reichör
Subject: Re: Killing all buffers
Date: Sun, 11 Feb 2007 20:18:40 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Alberto Simões <albie@alfarrabio.di.uminho.pt> writes:

> Hi,
>
> 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 also M-x desktop-clear:

  desktop-clear is an interactive compiled Lisp function in `desktop.el'.
  (desktop-clear)
   
  Empty the Desktop.
  This kills all buffers except for internal ones and those with names matched 
by
  a regular expression in the list `desktop-clear-preserve-buffers'.
  Furthermore, it clears the variables listed in `desktop-globals-to-clear'.


Stefan.


reply via email to

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