changeset 26239:62de8a433d0e

Patch from rms.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 28 Oct 1999 21:44:45 +0000
parents cd2c6d5da9fc
children 93f3d2337323
files lispref/buffers.texi lispref/sequences.texi
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/buffers.texi	Thu Oct 28 21:17:43 1999 +0000
+++ b/lispref/buffers.texi	Thu Oct 28 21:44:45 1999 +0000
@@ -330,12 +330,17 @@
 @end defun
 
 @c Emacs 19 feature
-@defun generate-new-buffer-name starting-name
+@defun generate-new-buffer-name starting-name &rest ignore
 This function returns a name that would be unique for a new buffer---but
 does not create the buffer.  It starts with @var{starting-name}, and
 produces a name not currently in use for any buffer by appending a
 number inside of @samp{<@dots{}>}.
 
+If the optional second argument @var{ignore} is non-@code{nil}, it
+should be buffer name in the sequence to be tried.  That name will be
+considered acceptable, if it is tried, even if a buffer with that name
+exists.
+
 See the related function @code{generate-new-buffer} in @ref{Creating
 Buffers}.
 @end defun
@@ -427,7 +432,7 @@
 
 @deffn Command set-visited-file-name filename &optional no-query along-with-file
 If @var{filename} is a non-empty string, this function changes the
-name of the file visited in current buffer to @var{filename}.  (If 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
--- a/lispref/sequences.texi	Thu Oct 28 21:17:43 1999 +0000
+++ b/lispref/sequences.texi	Thu Oct 28 21:44:45 1999 +0000
@@ -162,7 +162,7 @@
 @xref{Text Properties}.
 
 See also @code{append} in @ref{Building Lists}, @code{concat} in
-@ref{Creating Strings}, and @code{vconcat} in @ref{Vectors}, for others
+@ref{Creating Strings}, and @code{vconcat} in @ref{Vectors}, for other
 ways to copy sequences.
 
 @example