emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/buffers.texi [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lispref/buffers.texi [lexbind]
Date: Tue, 14 Oct 2003 19:10:15 -0400

Index: emacs/lispref/buffers.texi
diff -c emacs/lispref/buffers.texi:1.24.2.1 emacs/lispref/buffers.texi:1.24.2.2
*** emacs/lispref/buffers.texi:1.24.2.1 Fri Apr  4 01:20:41 2003
--- emacs/lispref/buffers.texi  Tue Oct 14 19:10:11 2003
***************
*** 106,112 ****
  switch visibly to a different buffer so that the user can edit it.  For
  that, you must use the functions described in @ref{Displaying Buffers}.
  
!   @strong{Note:} Lisp functions that change to a different current buffer
  should not depend on the command loop to set it back afterwards.
  Editing commands written in Emacs Lisp can be called from other programs
  as well as from the command loop; it is convenient for the caller if
--- 106,112 ----
  switch visibly to a different buffer so that the user can edit it.  For
  that, you must use the functions described in @ref{Displaying Buffers}.
  
!   @strong{Warning:} Lisp functions that change to a different current buffer
  should not depend on the command loop to set it back afterwards.
  Editing commands written in Emacs Lisp can be called from other programs
  as well as from the command loop; it is convenient for the caller if
***************
*** 444,453 ****
  If @var{filename} is a non-empty string, this function changes the
  name of the file visited in the current buffer to @var{filename}.  (If the
  buffer had no visited file, this gives it one.)  The @emph{next time}
! the buffer is saved it will go in the newly-specified file.  This
! command marks the buffer as modified, since it does not (as far as Emacs
! knows) match the contents of @var{filename}, even if it matched the
! former visited file.
  
  If @var{filename} is @code{nil} or the empty string, that stands for
  ``no visited file''.  In this case, @code{set-visited-file-name} marks
--- 444,456 ----
  If @var{filename} is a non-empty string, this function changes the
  name of the file visited in the current buffer to @var{filename}.  (If the
  buffer had no visited file, this gives it one.)  The @emph{next time}
! the buffer is saved it will go in the newly-specified file.
! 
! This command marks the buffer as modified, since it does not (as far
! as Emacs knows) match the contents of @var{filename}, even if it
! matched the former visited file.  It also renames the buffer to
! correspond to the new file name, unless the new name is already in
! use.
  
  If @var{filename} is @code{nil} or the empty string, that stands for
  ``no visited file''.  In this case, @code{set-visited-file-name} marks
***************
*** 678,690 ****
  @cindex buffer list
  
    The @dfn{buffer list} is a list of all live buffers.  Creating a
! buffer adds it to this list, and killing a buffer excises it.  The order
! of the buffers in the list is based primarily on how recently each
! buffer has been displayed in the selected window.  Buffers move to the
! front of the list when they are selected and to the end when they are
! buried (see @code{bury-buffer}, below).  Several functions, notably
! @code{other-buffer}, use this ordering.  A buffer list displayed for the
! user also follows this order.
  
    In addition to the fundamental Emacs buffer list, each frame has its
  own version of the buffer list, in which the buffers that have been
--- 681,694 ----
  @cindex buffer list
  
    The @dfn{buffer list} is a list of all live buffers.  Creating a
! buffer adds it to this list, and killing a buffer removes it.  The
! order of the buffers in the list is based primarily on how recently
! each buffer has been displayed in the selected window.  Buffers move
! to the front of the list when they are selected (selecting a window
! that already displays the buffer counts as selecting the buffer), and
! to the end when they are buried (see @code{bury-buffer}, below).
! Several functions, notably @code{other-buffer}, use this ordering.  A
! buffer list displayed for the user also follows this order.
  
    In addition to the fundamental Emacs buffer list, each frame has its
  own version of the buffer list, in which the buffers that have been
***************
*** 937,943 ****
  This is a normal hook run by @code{kill-buffer} after asking all the
  questions it is going to ask, just before actually killing the buffer.
  The buffer to be killed is current when the hook functions run.
! @xref{Hooks}.
  @end defvar
  
  @defvar buffer-offer-save
--- 941,948 ----
  This is a normal hook run by @code{kill-buffer} after asking all the
  questions it is going to ask, just before actually killing the buffer.
  The buffer to be killed is current when the hook functions run.
! @xref{Hooks}.  This variable is a permanent local, so its local binding
! is not cleared by changing major modes.
  @end defvar
  
  @defvar buffer-offer-save
***************
*** 1016,1018 ****
--- 1021,1027 ----
  @defun gap-size
  This function returns the current gap size of the current buffer.
  @end defun
+ 
+ @ignore
+    arch-tag: 2e53cfab-5691-41f6-b5a8-9c6a3462399c
+ @end ignore




reply via email to

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