emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/os.texi [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lispref/os.texi [emacs-unicode-2]
Date: Mon, 05 Jul 2004 23:01:18 -0400

Index: emacs/lispref/os.texi
diff -c emacs/lispref/os.texi:1.55.2.1 emacs/lispref/os.texi:1.55.2.2
*** emacs/lispref/os.texi:1.55.2.1      Mon Apr 19 07:01:42 2004
--- emacs/lispref/os.texi       Tue Jul  6 02:56:31 2004
***************
*** 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   Free Software Foundation, Inc.
  @c See the file elisp.texi for copying conditions.
  @setfilename ../info/os
--- 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, 2004
  @c   Free Software Foundation, Inc.
  @c See the file elisp.texi for copying conditions.
  @setfilename ../info/os
***************
*** 2062,2077 ****
  @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
  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.
  
  If a function in @code{emacs-save-session-functions} returns
  address@hidden, Emacs tells the session manager to cancel the
  shutdown.
  @end defvar
  
! Here is an example that just inserts some text into *scratch* when
  Emacs is restarted by the session manager.
  
  @example
--- 2062,2077 ----
  @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 function can use @code{insert} to add
  Lisp code to this buffer.  At the end, Emacs saves the buffer in a
! file that another Emacs will later load in order to restart the saved session.
  
  If a function in @code{emacs-save-session-functions} returns
  address@hidden, Emacs tells the session manager to cancel the
  shutdown.
  @end defvar
  
! Here is an example that just inserts some text into @samp{*scratch*} when
  Emacs is restarted by the session manager.
  
  @example




reply via email to

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