diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2004-07-05 23:38:43 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2004-07-05 23:38:43 +0000 |
commit | fe3b7e35ad6b06267d01a4649d2c512f714a45b2 (patch) | |
tree | 91a5425f923d2362c420d96b61ff5b50d80693bf /lispref/os.texi | |
parent | 81e898ea68215faaebc0a4d82ae8e30057cf7f7b (diff) | |
download | emacs-fe3b7e35ad6b06267d01a4649d2c512f714a45b2.tar.gz |
Update copyright.
(Session Management): Grammar fix.
Clarify which Emacs does the restarting.
Use @samp for *scratch* buffer.
Diffstat (limited to 'lispref/os.texi')
-rw-r--r-- | lispref/os.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lispref/os.texi b/lispref/os.texi index b5814372df9..d52464e7409 100644 --- a/lispref/os.texi +++ b/lispref/os.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999 +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2004 @c Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/os @@ -2062,16 +2062,16 @@ Emacs supports saving state by using a hook called @code{emacs-save-session-functions}. Each function in this hook is called when the session manager tells Emacs that the window system is shutting down. The functions are called with the current buffer set -to a temporary buffer. Each functions can use @code{insert} to add +to a temporary buffer. Each function can use @code{insert} to add Lisp code to this buffer. At the end, Emacs saves the buffer in a -file that Emacs will load in order to restart the saved session. +file that another Emacs will later load in order to restart the saved session. If a function in @code{emacs-save-session-functions} returns non-@code{nil}, Emacs tells the session manager to cancel the shutdown. @end defvar -Here is an example that just inserts some text into *scratch* when +Here is an example that just inserts some text into @samp{*scratch*} when Emacs is restarted by the session manager. @example |