[Top][All Lists]

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

Re: emacs exiting

From: Peter Münster
Subject: Re: emacs exiting
Date: Thu, 08 Dec 2011 17:11:22 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

On Wed, Dec 07 2011, sergio wrote:

> How to leave emacs without saving after some modification were made
> without leaving #file# (with moving it or switching off)?

Perhaps like this:

(defadvice save-buffers-kill-terminal (before my-before-exit activate)

You would just need to write (kill-all-unsaved-buffers).


reply via email to

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