aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gildea2021-10-07 20:10:09 -0700
committerStephen Gildea2021-10-07 20:11:36 -0700
commit65de510c1663994dcbdec219ab1889d0f71a7be6 (patch)
tree7f80f97558a785f5559ac66a6bba34cbde0fbf1b /src
parent9d8202b45e6beae31f2952d653c0ba7b788c4975 (diff)
downloademacs-65de510c1663994dcbdec219ab1889d0f71a7be6.tar.gz
emacs-65de510c1663994dcbdec219ab1889d0f71a7be6.zip
; 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".
Diffstat (limited to 'src')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 4eb7ab6d6ba..f405bcb5834 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1434,7 +1434,7 @@ and `buffer-file-truename' are non-nil. */)
1434DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p, 1434DEFUN ("restore-buffer-modified-p", Frestore_buffer_modified_p,
1435 Srestore_buffer_modified_p, 1, 1, 0, 1435 Srestore_buffer_modified_p, 1, 1, 0,
1436 doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line. 1436 doc: /* Like `set-buffer-modified-p', but doesn't redisplay buffer's mode line.
1437This function also locks and unlocks the file visited by the buffer, 1437This function also locks or unlocks the file visited by the buffer,
1438if both `buffer-file-truename' and `buffer-file-name' are non-nil. 1438if both `buffer-file-truename' and `buffer-file-name' are non-nil.
1439 1439
1440It is not ensured that mode lines will be updated to show the modified 1440It is not ensured that mode lines will be updated to show the modified