aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorEli Zaretskii2022-05-12 09:47:25 +0300
committerEli Zaretskii2022-05-12 09:47:25 +0300
commit7d0d87ec51f066aaa27cd3d2d995d56f1f41c67c (patch)
treef5c703fadd75a55e2b7c23e76ad016b74786d92a /src/buffer.c
parent36e84d228965b08c9a1e95e8e661bd50df4713be (diff)
downloademacs-7d0d87ec51f066aaa27cd3d2d995d56f1f41c67c.tar.gz
emacs-7d0d87ec51f066aaa27cd3d2d995d56f1f41c67c.zip
; Improve documentation of 'restore-buffer-modified-p'
* src/buffer.c (Frestore_buffer_modified_p): * doc/lispref/buffers.texi (Buffer Modification): Fix doc wording.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 89b04a42801..57137b2a067 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1449,8 +1449,8 @@ DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p,
1449 doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. 1449 doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line.
1450A nil FLAG means to mark the buffer as unmodified. A non-nil FLAG 1450A nil FLAG means to mark the buffer as unmodified. A non-nil FLAG
1451means mark the buffer as modified. A special value of `autosaved' 1451means mark the buffer as modified. A special value of `autosaved'
1452will mark the buffer modified, and also as having been autosaved since 1452will mark the buffer as modified and also as autosaved since it was
1453it was last modified. 1453last modified.
1454 1454
1455This function also locks or unlocks the file visited by the buffer, 1455This function also locks or unlocks the file visited by the buffer,
1456if both `buffer-file-truename' and `buffer-file-name' are non-nil. 1456if both `buffer-file-truename' and `buffer-file-name' are non-nil.