Mercurial > emacs
changeset 53421:36960c89c04c
(Buffer Modification): Add restore-buffer-modified-p.
(Killing Buffers): Add buffer-live-p.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 29 Dec 2003 20:25:53 +0000 |
parents | 95e0a0bdebb2 |
children | 1246d68686ac |
files | lispref/buffers.texi |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/buffers.texi Mon Dec 29 20:06:19 2003 +0000 +++ b/lispref/buffers.texi Mon Dec 29 20:25:53 2003 +0000 @@ -517,6 +517,11 @@ @end example @end defun +@defun restore-buffer-modified-p flag +Like @code{set-buffer-modified-p}, but does not force redisplay +of mode lines. +@end defun + @deffn Command not-modified 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 @@ -953,6 +958,11 @@ when set for any reason. @xref{Buffer-Local Variables}. @end defvar +@defun buffer-live-p buffer +This function returns @code{t} if @var{object} is a buffer which has +not been killed, @code{nil} otherwise. +@end defun + @node Indirect Buffers @section Indirect Buffers @cindex indirect buffers