aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-10-16 01:05:10 +0000
committerRichard M. Stallman1995-10-16 01:05:10 +0000
commitb5ef0e9225a05268e98b1304cf37259dc79aa9c2 (patch)
tree9f26263a54de7d1e54c7104b324ba0389536ed32
parent9feb90da262d7663e0ec8465c545018304b258ba (diff)
downloademacs-b5ef0e9225a05268e98b1304cf37259dc79aa9c2.tar.gz
emacs-b5ef0e9225a05268e98b1304cf37259dc79aa9c2.zip
Minor fixes.
-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
252@deffn Command rename-buffer newname &optional unique 252@deffn Command rename-buffer newname &optional unique
253This function renames the current buffer to @var{newname}. An error 253This function renames the current buffer to @var{newname}. An error
254is signaled if @var{newname} is not a string, or if there is already a 254is signaled if @var{newname} is not a string, or if there is already a
255buffer with that name. The function returns @code{nil}. 255buffer with that name. The function returns @var{newname}.
256 256
257@c Emacs 19 feature 257@c Emacs 19 feature
258Ordinarily, @code{rename-buffer} signals an error if @var{newname} is 258Ordinarily, @code{rename-buffer} signals an error if @var{newname} is
@@ -456,14 +456,17 @@ function @code{force-mode-line-update} works by doing this:
456@end defun 456@end defun
457 457
458@deffn Command not-modified 458@deffn Command not-modified
459This command marks the current buffer as unmodified, and not needing 459This command marks the current buffer as unmodified, and not needing to
460to be saved. Don't use this function in programs, since it prints a 460be saved. With prefix arg, it marks the buffer as modified, so that it
461message in the echo area; use @code{set-buffer-modified-p} (above) instead. 461will be saved at the next suitable occasion.
462
463Don't use this function in programs, since it prints a message in the
464echo area; use @code{set-buffer-modified-p} (above) instead.
462@end deffn 465@end deffn
463 466
464@c Emacs 19 feature 467@c Emacs 19 feature
465@defun buffer-modified-tick &optional buffer 468@defun buffer-modified-tick &optional buffer
466This function returns @var{buffer}`s modification-count. This is a 469This function returns @var{buffer}'s modification-count. This is a
467counter that increments every time the buffer is modified. If 470counter that increments every time the buffer is modified. If
468@var{buffer} is @code{nil} (or omitted), the current buffer is used. 471@var{buffer} is @code{nil} (or omitted), the current buffer is used.
469@end defun 472@end defun
@@ -795,9 +798,8 @@ this feature to test whether a buffer has been killed:
795 798
796@deffn Command kill-buffer buffer-or-name 799@deffn Command kill-buffer buffer-or-name
797This function kills the buffer @var{buffer-or-name}, freeing all its 800This function kills the buffer @var{buffer-or-name}, freeing all its
798memory for use as space for other buffers. (Emacs version 18 and older 801memory for other uses or to be returned to the operating system. It
799was unable to return the memory to the operating system.) It returns 802returns @code{nil}.
800@code{nil}.
801 803
802Any processes that have this buffer as the @code{process-buffer} are 804Any processes that have this buffer as the @code{process-buffer} are
803sent the @code{SIGHUP} signal, which normally causes them to terminate. 805sent 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
1030functions for sets include @code{memq} and @code{delq}, and their 1030functions for sets include @code{memq} and @code{delq}, and their
1031@code{equal} versions, @code{member} and @code{delete}. 1031@code{equal} versions, @code{member} and @code{delete}.
1032 1032
1033@cindex CL note---lack @code{union}, @code{set} 1033@cindex CL note---lack @code{union}, @code{intersection}
1034@quotation 1034@quotation
1035@b{Common Lisp note:} Common Lisp has functions @code{union} (which 1035@b{Common Lisp note:} Common Lisp has functions @code{union} (which
1036avoids duplicate elements) and @code{intersection} for set operations, 1036avoids duplicate elements) and @code{intersection} for set operations,
@@ -1163,7 +1163,7 @@ it removes the element just as @code{delq} would. For example:
1163@example 1163@example
1164@group 1164@group
1165(delete '(2) '((2) (1) (2))) 1165(delete '(2) '((2) (1) (2)))
1166 @result{} '((1)) 1166 @result{} ((1))
1167@end group 1167@end group
1168@end example 1168@end example
1169@end defun 1169@end defun