diff options
| author | Martin Rudalics | 2008-10-22 16:08:11 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2008-10-22 16:08:11 +0000 |
| commit | f76f8246084a856fa355aab2e72a3bc453694f36 (patch) | |
| tree | 6d709ea1d6ccb80b1a35946b197890f80c2045d5 | |
| parent | 12bb31115ee71c222f78d116adbb5ab37a4eadb2 (diff) | |
| download | emacs-f76f8246084a856fa355aab2e72a3bc453694f36.tar.gz emacs-f76f8246084a856fa355aab2e72a3bc453694f36.zip | |
(Killing Buffers): Update documentation of kill-buffer.
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/buffers.texi | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index ff744560092..04fbf8716a6 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -5,6 +5,9 @@ | |||
| 5 | (Choosing Window): Rewrite documentation of display-buffer and | 5 | (Choosing Window): Rewrite documentation of display-buffer and |
| 6 | its options. | 6 | its options. |
| 7 | 7 | ||
| 8 | * buffers.texi (Killing Buffers): Update documentation of | ||
| 9 | kill-buffer. | ||
| 10 | |||
| 8 | 2008-10-21 Eli Zaretskii <eliz@gnu.org> | 11 | 2008-10-21 Eli Zaretskii <eliz@gnu.org> |
| 9 | 12 | ||
| 10 | * processes.texi (Serial Ports): Fix wording and improve markup. | 13 | * processes.texi (Serial Ports): Fix wording and improve markup. |
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi index 4d12185726c..b915e69ab6a 100644 --- a/doc/lispref/buffers.texi +++ b/doc/lispref/buffers.texi | |||
| @@ -996,10 +996,11 @@ this feature to test whether a buffer has been killed: | |||
| 996 | @end group | 996 | @end group |
| 997 | @end example | 997 | @end example |
| 998 | 998 | ||
| 999 | @deffn Command kill-buffer buffer-or-name | 999 | @deffn Command kill-buffer &optional buffer-or-name |
| 1000 | This function kills the buffer @var{buffer-or-name}, freeing all its | 1000 | This function kills the buffer @var{buffer-or-name}, freeing all its |
| 1001 | memory for other uses or to be returned to the operating system. If | 1001 | memory for other uses or to be returned to the operating system. If |
| 1002 | @var{buffer-or-name} is @code{nil}, it kills the current buffer. | 1002 | @var{buffer-or-name} is @code{nil} or omitted, it kills the current |
| 1003 | buffer. | ||
| 1003 | 1004 | ||
| 1004 | Any processes that have this buffer as the @code{process-buffer} are | 1005 | Any processes that have this buffer as the @code{process-buffer} are |
| 1005 | sent the @code{SIGHUP} signal, which normally causes them to terminate. | 1006 | sent the @code{SIGHUP} signal, which normally causes them to terminate. |
| @@ -1012,6 +1013,9 @@ It does this even if not called interactively. To prevent the request | |||
| 1012 | for confirmation, clear the modified flag before calling | 1013 | for confirmation, clear the modified flag before calling |
| 1013 | @code{kill-buffer}. @xref{Buffer Modification}. | 1014 | @code{kill-buffer}. @xref{Buffer Modification}. |
| 1014 | 1015 | ||
| 1016 | This function calls `replace-buffer-in-windows' for cleaning up all | ||
| 1017 | windows currently displaying the buffer to be killed. | ||
| 1018 | |||
| 1015 | Killing a buffer that is already dead has no effect. | 1019 | Killing a buffer that is already dead has no effect. |
| 1016 | 1020 | ||
| 1017 | This function returns @code{t} if it actually killed the buffer. It | 1021 | This function returns @code{t} if it actually killed the buffer. It |