[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: make emacs switch to front unsaved buffer when quit
From: |
Drew Adams |
Subject: |
RE: make emacs switch to front unsaved buffer when quit |
Date: |
Wed, 4 Apr 2012 18:27:59 -0700 |
> That runs save-buffers-kill-emacs, which runs save-some-buffers, whose
> docstring says:
>
> You can answer `y' to save, `n' not to save, `C-r' to look at the
> buffer in question with `view-buffer' before deciding or `d' to
> view the differences using `diff-buffer-with-file'.
`C-x C-c' runs `save-buffers-kill-terminal', by default. And that calls
`save-buffers-kill-emacs', which runs `save-some-buffers'. It's not so obvious
which function to check for more info.
Fortunately, the prompt lists the keys you can use. Unfortunately, it does not
point out that `C-h' will give you more help, telling you what each key does.
Also unfortunately, the doc of `save-some-buffers' (both doc string and Elisp
manual) does not say anything about hitting `C-h' and some of the the other keys
you can use.
I just filed bug #11181 for this.