[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 65de510: ; Fix 'restore-buffer-modified-p' doc string typo
From: |
Stephen Gildea |
Subject: |
emacs-28 65de510: ; Fix 'restore-buffer-modified-p' doc string typo |
Date: |
Thu, 7 Oct 2021 23:13:10 -0400 (EDT) |
branch: emacs-28
commit 65de510c1663994dcbdec219ab1889d0f71a7be6
Author: Stephen Gildea <stepheng+emacs@gildea.com>
Commit: Stephen Gildea <stepheng+emacs@gildea.com>
; Fix 'restore-buffer-modified-p' doc string typo
* src/buffer.c (restore-buffer-modified-p): Fix typo in doc string:
"and" for "or" regarding lock/unlock. Note that 'set-buffer-modified-p'
doc string already uses the correct "or".
---
src/buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/buffer.c b/src/buffer.c
index 4eb7ab6..f405bcb 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1434,7 +1434,7 @@ and `buffer-file-truename' are non-nil. */)
DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p,
Srestore_buffer_modified_p, 1, 1, 0,
doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's
mode line.
-This function also locks and unlocks the file visited by the buffer,
+This function also locks or unlocks the file visited by the buffer,
if both `buffer-file-truename' and `buffer-file-name' are non-nil.
It is not ensured that mode lines will be updated to show the modified
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 65de510: ; Fix 'restore-buffer-modified-p' doc string typo,
Stephen Gildea <=