diff options
| author | Richard M. Stallman | 1995-10-16 01:05:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-10-16 01:05:10 +0000 |
| commit | b5ef0e9225a05268e98b1304cf37259dc79aa9c2 (patch) | |
| tree | 9f26263a54de7d1e54c7104b324ba0389536ed32 | |
| parent | 9feb90da262d7663e0ec8465c545018304b258ba (diff) | |
| download | emacs-b5ef0e9225a05268e98b1304cf37259dc79aa9c2.tar.gz emacs-b5ef0e9225a05268e98b1304cf37259dc79aa9c2.zip | |
Minor fixes.
| -rw-r--r-- | lispref/buffers.texi | 18 | ||||
| -rw-r--r-- | lispref/lists.texi | 4 |
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 |
| 253 | This function renames the current buffer to @var{newname}. An error | 253 | This function renames the current buffer to @var{newname}. An error |
| 254 | is signaled if @var{newname} is not a string, or if there is already a | 254 | is signaled if @var{newname} is not a string, or if there is already a |
| 255 | buffer with that name. The function returns @code{nil}. | 255 | buffer with that name. The function returns @var{newname}. |
| 256 | 256 | ||
| 257 | @c Emacs 19 feature | 257 | @c Emacs 19 feature |
| 258 | Ordinarily, @code{rename-buffer} signals an error if @var{newname} is | 258 | 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: | |||
| 456 | @end defun | 456 | @end defun |
| 457 | 457 | ||
| 458 | @deffn Command not-modified | 458 | @deffn Command not-modified |
| 459 | This command marks the current buffer as unmodified, and not needing | 459 | This command marks the current buffer as unmodified, and not needing to |
| 460 | to be saved. Don't use this function in programs, since it prints a | 460 | be saved. With prefix arg, it marks the buffer as modified, so that it |
| 461 | message in the echo area; use @code{set-buffer-modified-p} (above) instead. | 461 | will be saved at the next suitable occasion. |
| 462 | |||
| 463 | Don't use this function in programs, since it prints a message in the | ||
| 464 | echo 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 |
| 466 | This function returns @var{buffer}`s modification-count. This is a | 469 | This function returns @var{buffer}'s modification-count. This is a |
| 467 | counter that increments every time the buffer is modified. If | 470 | counter 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 |
| 797 | This function kills the buffer @var{buffer-or-name}, freeing all its | 800 | This function kills the buffer @var{buffer-or-name}, freeing all its |
| 798 | memory for use as space for other buffers. (Emacs version 18 and older | 801 | memory for other uses or to be returned to the operating system. It |
| 799 | was unable to return the memory to the operating system.) It returns | 802 | returns @code{nil}. |
| 800 | @code{nil}. | ||
| 801 | 803 | ||
| 802 | Any processes that have this buffer as the @code{process-buffer} are | 804 | Any processes that have this buffer as the @code{process-buffer} are |
| 803 | sent the @code{SIGHUP} signal, which normally causes them to terminate. | 805 | 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 | |||
| 1030 | functions for sets include @code{memq} and @code{delq}, and their | 1030 | functions 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 |
| 1036 | avoids duplicate elements) and @code{intersection} for set operations, | 1036 | avoids 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 |