aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-28 21:44:45 +0000
committerGerd Moellmann1999-10-28 21:44:45 +0000
commitd699a7ad516ac4a18d592c13196bd28f57d5e45e (patch)
tree164584557056a97210622354f002cfe29eebe63f /lispref
parentd9e455fbec05fa016956113b5b803f0818f79da9 (diff)
downloademacs-d699a7ad516ac4a18d592c13196bd28f57d5e45e.tar.gz
emacs-d699a7ad516ac4a18d592c13196bd28f57d5e45e.zip
Patch from rms.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/buffers.texi9
-rw-r--r--lispref/sequences.texi2
2 files changed, 8 insertions, 3 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index 098dfd88463..38d0b6ea029 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -330,12 +330,17 @@ See also the function @code{get-buffer-create} in @ref{Creating Buffers}.
330@end defun 330@end defun
331 331
332@c Emacs 19 feature 332@c Emacs 19 feature
333@defun generate-new-buffer-name starting-name 333@defun generate-new-buffer-name starting-name &rest ignore
334This function returns a name that would be unique for a new buffer---but 334This function returns a name that would be unique for a new buffer---but
335does not create the buffer. It starts with @var{starting-name}, and 335does not create the buffer. It starts with @var{starting-name}, and
336produces a name not currently in use for any buffer by appending a 336produces a name not currently in use for any buffer by appending a
337number inside of @samp{<@dots{}>}. 337number inside of @samp{<@dots{}>}.
338 338
339If the optional second argument @var{ignore} is non-@code{nil}, it
340should be buffer name in the sequence to be tried. That name will be
341considered acceptable, if it is tried, even if a buffer with that name
342exists.
343
339See the related function @code{generate-new-buffer} in @ref{Creating 344See the related function @code{generate-new-buffer} in @ref{Creating
340Buffers}. 345Buffers}.
341@end defun 346@end defun
@@ -427,7 +432,7 @@ such buffer in the buffer list.
427 432
428@deffn Command set-visited-file-name filename &optional no-query along-with-file 433@deffn Command set-visited-file-name filename &optional no-query along-with-file
429If @var{filename} is a non-empty string, this function changes the 434If @var{filename} is a non-empty string, this function changes the
430name of the file visited in current buffer to @var{filename}. (If the 435name of the file visited in the current buffer to @var{filename}. (If the
431buffer had no visited file, this gives it one.) The @emph{next time} 436buffer had no visited file, this gives it one.) The @emph{next time}
432the buffer is saved it will go in the newly-specified file. This 437the buffer is saved it will go in the newly-specified file. This
433command marks the buffer as modified, since it does not (as far as Emacs 438command marks the buffer as modified, since it does not (as far as Emacs
diff --git a/lispref/sequences.texi b/lispref/sequences.texi
index 006b863e7ed..0b9e2901977 100644
--- a/lispref/sequences.texi
+++ b/lispref/sequences.texi
@@ -162,7 +162,7 @@ list. However, the actual values of the properties are shared.
162@xref{Text Properties}. 162@xref{Text Properties}.
163 163
164See also @code{append} in @ref{Building Lists}, @code{concat} in 164See also @code{append} in @ref{Building Lists}, @code{concat} in
165@ref{Creating Strings}, and @code{vconcat} in @ref{Vectors}, for others 165@ref{Creating Strings}, and @code{vconcat} in @ref{Vectors}, for other
166ways to copy sequences. 166ways to copy sequences.
167 167
168@example 168@example