unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how do i exit and save all with one command?
@ 2003-10-30  2:30 Lowell Kirsh
  2003-10-30  3:19 ` Jesper Harder
  2003-10-30  5:15 ` Matthew Kennedy
  0 siblings, 2 replies; 3+ messages in thread
From: Lowell Kirsh @ 2003-10-30  2:30 UTC (permalink / raw)


Is there a command that will save the current buffer and kill emacs?

Lowell

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how do i exit and save all with one command?
  2003-10-30  2:30 how do i exit and save all with one command? Lowell Kirsh
@ 2003-10-30  3:19 ` Jesper Harder
  2003-10-30  5:15 ` Matthew Kennedy
  1 sibling, 0 replies; 3+ messages in thread
From: Jesper Harder @ 2003-10-30  3:19 UTC (permalink / raw)


Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

> Is there a command that will save the current buffer and kill emacs?

`C-u C-c C-x' is close.  It saves all buffers visiting a file and then
kills Emacs.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how do i exit and save all with one command?
  2003-10-30  2:30 how do i exit and save all with one command? Lowell Kirsh
  2003-10-30  3:19 ` Jesper Harder
@ 2003-10-30  5:15 ` Matthew Kennedy
  1 sibling, 0 replies; 3+ messages in thread
From: Matthew Kennedy @ 2003-10-30  5:15 UTC (permalink / raw)


Lowell Kirsh <lkirsh@cs.ubc.ca> writes:

> Is there a command that will save the current buffer and kill emacs?
>

[...]

,----[ C-h k C-x C-c ]
| C-x C-c runs the command save-buffers-kill-emacs
|    which is an interactive compiled Lisp function in `files'.
| It is bound to C-x C-c, <menu-bar> <files> <exit-emacs>.
| (save-buffers-kill-emacs &optional ARG)
| 
| Offer to save each buffer, then kill this Emacs process.
| With prefix arg, silently save all file-visiting buffers, then kill.
`----


-- 
Matthew Kennedy

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-30  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30  2:30 how do i exit and save all with one command? Lowell Kirsh
2003-10-30  3:19 ` Jesper Harder
2003-10-30  5:15 ` Matthew Kennedy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).