summaryrefslogtreecommitdiff
path: root/doc/lispref/buffers.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-05-10 16:06:10 +0300
committerEli Zaretskii <eliz@gnu.org>2022-05-10 16:06:10 +0300
commit68dd94448f0b46cced59c7fe33f77f74ddf656ad (patch)
tree33af0830ff2746c8c4037a0e99ee016e853e5e24 /doc/lispref/buffers.texi
parent000f13a2bc60428bf02157956b22ba23570b0725 (diff)
downloademacs-68dd94448f0b46cced59c7fe33f77f74ddf656ad.tar.gz
; Fix recent documentation changes
* src/fileio.c (Fdo_auto_save): * src/buffer.c (Fbuffer_modified_p, Frestore_buffer_modified_p): * doc/lispref/buffers.texi (Buffer Modification): Improve documentation of 'do-auto-save', 'buffer-modified-p' and 'restore-buffer-modified-p'.
Diffstat (limited to 'doc/lispref/buffers.texi')
-rw-r--r--doc/lispref/buffers.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi
index 8d1d9f5ddb2..2e5771f3474 100644
--- a/doc/lispref/buffers.texi
+++ b/doc/lispref/buffers.texi
@@ -541,12 +541,12 @@ file formerly visited.
@ref{Text}.
@defun buffer-modified-p &optional buffer
-This function returns non-@code{nil} if the buffer @var{buffer} has
+This function returns non-@code{nil} if @var{buffer} has
been modified since it was last read in from a file or saved, or
-@code{nil} otherwise. If @var{buffer} has been autosaved after
-@var{buffer} was last modified, the symbol @code{autosaved} is
-returned. If @var{buffer} is not supplied, the current buffer is
-tested.
+@code{nil} otherwise. If @var{buffer} has been auto-saved since the
+time it was last modified, this function returns the symbol
+@code{autosaved}. If @var{buffer} is @code{nil} or omitted, it
+defaults to the current buffer.
@end defun
@defun set-buffer-modified-p flag