aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2025-09-09 15:18:16 +0300
committerEli Zaretskii2025-09-09 15:18:16 +0300
commit2fafcdbf6ac686e723292f2c9c581de7e81bef7b (patch)
tree6898847290bb08fd38e48ded6295507ee9f4bc93 /src
parent56cdb65e54017b50ca994a5589cd31f36c44885b (diff)
downloademacs-2fafcdbf6ac686e723292f2c9c581de7e81bef7b.tar.gz
emacs-2fafcdbf6ac686e723292f2c9c581de7e81bef7b.zip
; Minor copyedits in src/editfns.c
* src/editfns.c (Fbuffer_string, Freplace_buffer_contents) (styled_format): Avoid using non-ASCII characters in doc strings and comments.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c
index a3f220671a8..ea71c3cda37 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -1693,7 +1693,7 @@ If narrowing is in effect, this function returns only the visible part
1693of the buffer. 1693of the buffer.
1694 1694
1695This function copies the text properties of that part of the buffer 1695This function copies the text properties of that part of the buffer
1696into the result string; if you dont want the text properties, 1696into the result string; if you don't want the text properties,
1697use `buffer-substring-no-properties' instead. */) 1697use `buffer-substring-no-properties' instead. */)
1698 (void) 1698 (void)
1699{ 1699{
@@ -2082,7 +2082,7 @@ nil. */)
2082 ptrdiff_t j = size_b; 2082 ptrdiff_t j = size_b;
2083 /* Walk backwards through the lists of changes. This was also 2083 /* Walk backwards through the lists of changes. This was also
2084 cargo-culted from src/analyze.c in GNU Diffutils. Because we 2084 cargo-culted from src/analyze.c in GNU Diffutils. Because we
2085 walk backwards, we dont have to keep the positions in sync. */ 2085 walk backwards, we don't have to keep the positions in sync. */
2086 while (i >= 0 || j >= 0) 2086 while (i >= 0 || j >= 0)
2087 { 2087 {
2088 rarely_quit (++ctx.quitcounter); 2088 rarely_quit (++ctx.quitcounter);
@@ -3395,7 +3395,7 @@ usage: (format-message STRING &rest OBJECTS) */)
3395 return styled_format (nargs, args, true); 3395 return styled_format (nargs, args, true);
3396} 3396}
3397 3397
3398/* Implement format-message if MESSAGE is true, format otherwise. */ 3398/* Implement `format-message' if MESSAGE is true, `format' otherwise. */
3399 3399
3400static Lisp_Object 3400static Lisp_Object
3401styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message) 3401styled_format (ptrdiff_t nargs, Lisp_Object *args, bool message)