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

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

bug#8300: save-some-buffers no longer asks user about each one


From: David Engster
Subject: bug#8300: save-some-buffers no longer asks user about each one
Date: Sun, 20 Mar 2011 13:45:02 +0100
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

'jidanni' writes:
> OK fine. Better get used to
>   Gnus auto-save file exists.  Do you want to read it? (y or n)  y
> often the next time you start emacs. Because there is nothing left to
> remind you you haven't closed gnus properly last session.

(add-hook 'kill-emacs-hook
          (lambda ()
            (when (gnus-alive-p)
              (unless (y-or-n-p "Gnus still running! Really quit?")
                (error "User aborted kill-emacs. Quit Gnus and exit again.")))))

Although using this implies that Emacs thinks it's smarter than
you... ;-)

-David





reply via email to

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