Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f76f8246
Commit
f76f8246
authored
Oct 22, 2008
by
Martin Rudalics
Browse files
(Killing Buffers): Update documentation of kill-buffer.
parent
12bb3111
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
doc/lispref/ChangeLog
doc/lispref/ChangeLog
+3
-0
doc/lispref/buffers.texi
doc/lispref/buffers.texi
+6
-2
No files found.
doc/lispref/ChangeLog
View file @
f76f8246
...
...
@@ -5,6 +5,9 @@
(Choosing Window): Rewrite documentation of display-buffer and
its options.
* buffers.texi (Killing Buffers): Update documentation of
kill-buffer.
2008-10-21 Eli Zaretskii <eliz@gnu.org>
* processes.texi (Serial Ports): Fix wording and improve markup.
...
...
doc/lispref/buffers.texi
View file @
f76f8246
...
...
@@ -996,10 +996,11 @@ this feature to test whether a buffer has been killed:
@end group
@end example
@deffn Command kill-buffer buffer-or-name
@deffn Command kill-buffer
&optional
buffer-or-name
This function kills the buffer @var{buffer-or-name}, freeing all its
memory for other uses or to be returned to the operating system. If
@var{buffer-or-name} is @code{nil}, it kills the current buffer.
@var{buffer-or-name} is @code{nil} or omitted, it kills the current
buffer.
Any processes that have this buffer as the @code{process-buffer} are
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
for confirmation, clear the modified flag before calling
@code{kill-buffer}. @xref{Buffer Modification}.
This function calls `replace-buffer-in-windows' for cleaning up all
windows currently displaying the buffer to be killed.
Killing a buffer that is already dead has no effect.
This function returns @code{t} if it actually killed the buffer. It
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment