summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-16 01:05:10 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-16 01:05:10 +0000
commitb75689dd3dec3f8959afc899215dc237516825b5 (patch)
treed09e73bf40d23127f4215d370086e8c162bd3b08 /lispref
parent3b010280a2bac6fa90db185f0ee4572a4203a544 (diff)
downloademacs-b75689dd3dec3f8959afc899215dc237516825b5.tar.gz
Minor fixes.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/buffers.texi18
-rw-r--r--lispref/lists.texi4
2 files changed, 12 insertions, 10 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi
index 801698408aa..9009a9b7733 100644
--- a/lispref/buffers.texi
+++ b/lispref/buffers.texi
@@ -252,7 +252,7 @@ foo
@deffn Command rename-buffer newname &optional unique
This function renames the current buffer to @var{newname}. An error
is signaled if @var{newname} is not a string, or if there is already a
-buffer with that name. The function returns @code{nil}.
+buffer with that name. The function returns @var{newname}.
@c Emacs 19 feature
Ordinarily, @code{rename-buffer} signals an error if @var{newname} is
@@ -456,14 +456,17 @@ function @code{force-mode-line-update} works by doing this:
@end defun
@deffn Command not-modified
-This command marks the current buffer as unmodified, and not needing
-to be saved. Don't use this function in programs, since it prints a
-message in the echo area; use @code{set-buffer-modified-p} (above) instead.
+This command marks the current buffer as unmodified, and not needing to
+be saved. With prefix arg, it marks the buffer as modified, so that it
+will be saved at the next suitable occasion.
+
+Don't use this function in programs, since it prints a message in the
+echo area; use @code{set-buffer-modified-p} (above) instead.
@end deffn
@c Emacs 19 feature
@defun buffer-modified-tick &optional buffer
-This function returns @var{buffer}`s modification-count. This is a
+This function returns @var{buffer}'s modification-count. This is a
counter that increments every time the buffer is modified. If
@var{buffer} is @code{nil} (or omitted), the current buffer is used.
@end defun
@@ -795,9 +798,8 @@ this feature to test whether a buffer has been killed:
@deffn Command kill-buffer buffer-or-name
This function kills the buffer @var{buffer-or-name}, freeing all its
-memory for use as space for other buffers. (Emacs version 18 and older
-was unable to return the memory to the operating system.) It returns
-@code{nil}.
+memory for other uses or to be returned to the operating system. It
+returns @code{nil}.
Any processes that have this buffer as the @code{process-buffer} are
sent the @code{SIGHUP} signal, which normally causes them to terminate.
diff --git a/lispref/lists.texi b/lispref/lists.texi
index e1b2bcbb2fd..da9d57319ed 100644
--- a/lispref/lists.texi
+++ b/lispref/lists.texi
@@ -1030,7 +1030,7 @@ long as you don't mind having duplicate elements). Other useful
functions for sets include @code{memq} and @code{delq}, and their
@code{equal} versions, @code{member} and @code{delete}.
-@cindex CL note---lack @code{union}, @code{set}
+@cindex CL note---lack @code{union}, @code{intersection}
@quotation
@b{Common Lisp note:} Common Lisp has functions @code{union} (which
avoids duplicate elements) and @code{intersection} for set operations,
@@ -1163,7 +1163,7 @@ it removes the element just as @code{delq} would. For example:
@example
@group
(delete '(2) '((2) (1) (2)))
- @result{} '((1))
+ @result{} ((1))
@end group
@end example
@end defun