summaryrefslogtreecommitdiff
path: root/doc/lispref/buffers.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-12 02:16:38 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-12 02:16:38 +0200
commit1642a5ffcdf734c629e5aec963a0b190997704d6 (patch)
treecbcd00919ab5f0c0d65ea6cd08fd77b3cf61414a /doc/lispref/buffers.texi
parentdce85743b6856132a64709cd191951f9d190ce6e (diff)
downloademacs-1642a5ffcdf734c629e5aec963a0b190997704d6.tar.gz
Adjust restore-buffer-modified-p autosaved logic
* doc/lispref/buffers.texi (Buffer Modification): Adjust documentation. * src/buffer.c (Frestore_buffer_modified_p): Fix up the logic around `autosaved': It means "the buffer is modified, and also autosaved".
Diffstat (limited to 'doc/lispref/buffers.texi')
-rw-r--r--doc/lispref/buffers.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/buffers.texi b/doc/lispref/buffers.texi
index 2e5771f3474..9f3808a45b1 100644
--- a/doc/lispref/buffers.texi
+++ b/doc/lispref/buffers.texi
@@ -565,9 +565,9 @@ function @code{force-mode-line-update} works by doing this:
@end defun
@defun restore-buffer-modified-p flag
-Like @code{set-buffer-modified-p}, but does not force redisplay
-of mode lines. This function also allows a @var{flag} value of
-@code{autosaved}, which marks the buffer as having been autosaved
+Like @code{set-buffer-modified-p}, but does not force redisplay of
+mode lines. This function also allows a @var{flag} value of
+@code{autosaved}, which also marks the buffer as having been autosaved
after the last modification.
@end defun