# HG changeset patch # User Thien-Thi Nguyen # Date 1089070503 0 # Node ID 1468ded18da0b838b766cf2fbc1ce13d63f380b8 # Parent f0e5e08dd63ef10b3b9361c91109f0ec198b0aca Update copyright. (Session Management): Grammar fix. Clarify which Emacs does the restarting. Use @samp for *scratch* buffer. diff -r f0e5e08dd63e -r 1468ded18da0 lispref/os.texi --- a/lispref/os.texi Mon Jul 05 23:28:42 2004 +0000 +++ b/lispref/os.texi Mon Jul 05 23:35:03 2004 +0000 @@ -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 @@ @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