diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-12-29 20:25:53 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-12-29 20:25:53 +0000 |
commit | 39be25da15140fb56874984e1c52bf792b70fdd6 (patch) | |
tree | 7438387b179043adfd422dee280be99170b5a87a /lispref/buffers.texi | |
parent | 67d120ebadb080a3c7ec16f7a4855fd6227b923e (diff) | |
download | emacs-39be25da15140fb56874984e1c52bf792b70fdd6.tar.gz |
(Buffer Modification): Add restore-buffer-modified-p.
(Killing Buffers): Add buffer-live-p.
Diffstat (limited to 'lispref/buffers.texi')
-rw-r--r-- | lispref/buffers.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lispref/buffers.texi b/lispref/buffers.texi index 5b1104eb058..634838f903f 100644 --- a/lispref/buffers.texi +++ b/lispref/buffers.texi @@ -517,6 +517,11 @@ function @code{force-mode-line-update} works by doing this: @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 @@ variable @code{buffer-offer-save} automatically becomes buffer-local 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 |