aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2024-06-04 22:13:47 -0700
committerPaul Eggert2024-06-04 22:16:28 -0700
commit3dcac22dd4225fdec0b97408da38f74de2a77bef (patch)
treec79a8563efbed67aae0bba5d46b628c1e8a5b69b /src
parent636461686f1d36388d4523cbb10eb7ec3bbbd63e (diff)
downloademacs-3dcac22dd4225fdec0b97408da38f74de2a77bef.tar.gz
emacs-3dcac22dd4225fdec0b97408da38f74de2a77bef.zip
Spelling fixes
Diffstat (limited to 'src')
-rw-r--r--src/androidselect.c2
-rw-r--r--src/fns.c2
-rw-r--r--src/itree.c2
-rw-r--r--src/json.c2
-rw-r--r--src/macros.c4
-rw-r--r--src/sort.c2
-rw-r--r--src/xdisp.c4
7 files changed, 9 insertions, 9 deletions
diff --git a/src/androidselect.c b/src/androidselect.c
index 50982738743..d5783b75417 100644
--- a/src/androidselect.c
+++ b/src/androidselect.c
@@ -945,7 +945,7 @@ keywords is understood:
945 No more than three actions defined here will be 945 No more than three actions defined here will be
946 displayed, not counting any with "default" as its 946 displayed, not counting any with "default" as its
947 key. 947 key.
948 :timeout Number of miliseconds from the display of the 948 :timeout Number of milliseconds from the display of the
949 notification at which it will be automatically 949 notification at which it will be automatically
950 dismissed, or a value of zero or smaller if it 950 dismissed, or a value of zero or smaller if it
951 is to remain until user action is taken to dismiss 951 is to remain until user action is taken to dismiss
diff --git a/src/fns.c b/src/fns.c
index 48607b2c5d0..371d2ae3a3a 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -5359,7 +5359,7 @@ hash_string (char const *ptr, ptrdiff_t len)
5359 hash = sxhash_combine (hash, c); 5359 hash = sxhash_combine (hash, c);
5360 } 5360 }
5361 while (p + sizeof hash <= end); 5361 while (p + sizeof hash <= end);
5362 /* Hash the last wordful of bytes in the string, because that is 5362 /* Hash the last word's worth of bytes in the string, because that is
5363 is often the part where strings differ. This may cause some 5363 is often the part where strings differ. This may cause some
5364 bytes to be hashed twice but we assume that's not a big problem. */ 5364 bytes to be hashed twice but we assume that's not a big problem. */
5365 EMACS_UINT c; 5365 EMACS_UINT c;
diff --git a/src/itree.c b/src/itree.c
index da51b3c61fd..9dae279db90 100644
--- a/src/itree.c
+++ b/src/itree.c
@@ -1211,7 +1211,7 @@ itree_node_intersects (const struct itree_node *node,
1211 `ITER->begin..ITER->end`) so it will also return some nodes which aren't in 1211 `ITER->begin..ITER->end`) so it will also return some nodes which aren't in
1212 that narrowing simply because they may have children which are. 1212 that narrowing simply because they may have children which are.
1213 1213
1214 The code itself is very unsatifactory because the code of each one 1214 The code itself is very unsatisfactory because the code of each one
1215 of the supported traversals seems completely different from the others. 1215 of the supported traversals seems completely different from the others.
1216 If someone knows how to make it more uniform and "obviously correct", 1216 If someone knows how to make it more uniform and "obviously correct",
1217 please make yourself heard. */ 1217 please make yourself heard. */
diff --git a/src/json.c b/src/json.c
index 140c3625d4d..21066d21328 100644
--- a/src/json.c
+++ b/src/json.c
@@ -405,7 +405,7 @@ json_out_nest (json_out_t *jo)
405{ 405{
406 --jo->maxdepth; 406 --jo->maxdepth;
407 if (jo->maxdepth < 0) 407 if (jo->maxdepth < 0)
408 error ("Maximum JSON serialisation depth exceeded"); 408 error ("Maximum JSON serialization depth exceeded");
409} 409}
410 410
411static void 411static void
diff --git a/src/macros.c b/src/macros.c
index 230195d9488..a4df125aafd 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -343,14 +343,14 @@ buffer before the macro is executed. */)
343 restore Vexecuting_kbd_macro and executing_kbd_macro_index, and 343 restore Vexecuting_kbd_macro and executing_kbd_macro_index, and
344 run 'kbd-macro-termination-hook'. 344 run 'kbd-macro-termination-hook'.
345 345
346 If read_char happens to be called at the end of a macro interation, 346 If read_char happens to be called at the end of a macro iteration,
347 but before read_key_sequence could handle the end (e.g., when lisp 347 but before read_key_sequence could handle the end (e.g., when lisp
348 code calls 'read-event', 'read-char', or 'read-char-exclusive'), 348 code calls 'read-event', 'read-char', or 'read-char-exclusive'),
349 read_char will simply continue reading other available input 349 read_char will simply continue reading other available input
350 (Bug#68272). Vexecuting_kbd_macro and executing_kbd_macro remain 350 (Bug#68272). Vexecuting_kbd_macro and executing_kbd_macro remain
351 untouched until the end of the iteration is handled. 351 untouched until the end of the iteration is handled.
352 352
353 This is similar (in observable behavior) to a posibly simpler 353 This is similar (in observable behavior) to a possibly simpler
354 implementation of keyboard macros in which this function pushed all 354 implementation of keyboard macros in which this function pushed all
355 characters of the macro into the incoming event queue and returned 355 characters of the macro into the incoming event queue and returned
356 immediately. Maybe this is the implementation that we ideally 356 immediately. Maybe this is the implementation that we ideally
diff --git a/src/sort.c b/src/sort.c
index dc9f49016aa..24c3e94f50c 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -1130,7 +1130,7 @@ tim_sort (Lisp_Object predicate, Lisp_Object keyfunc,
1130 keys[i] = call1 (keyfunc, seq[i]); 1130 keys[i] = call1 (keyfunc, seq[i]);
1131 1131
1132 /* FIXME: This is where we would check the keys for interesting 1132 /* FIXME: This is where we would check the keys for interesting
1133 properties for more optimised comparison (such as all being fixnums 1133 properties for more optimized comparison (such as all being fixnums
1134 etc). */ 1134 etc). */
1135 1135
1136 /* March over the array once, left to right, finding natural runs, 1136 /* March over the array once, left to right, finding natural runs,
diff --git a/src/xdisp.c b/src/xdisp.c
index 3d8651f4086..4df76baf92b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -19173,7 +19173,7 @@ try_scrolling (Lisp_Object window, bool just_this_one_p,
19173 /* Maybe forget recorded base line for line number display. */ 19173 /* Maybe forget recorded base line for line number display. */
19174 /* FIXME: Why do we need this? `try_scrolling` can only be called from 19174 /* FIXME: Why do we need this? `try_scrolling` can only be called from
19175 `redisplay_window` which should have flushed this cache already when 19175 `redisplay_window` which should have flushed this cache already when
19176 eeded. */ 19176 needed. */
19177 if (!BASE_LINE_NUMBER_VALID_P (w)) 19177 if (!BASE_LINE_NUMBER_VALID_P (w))
19178 w->base_line_number = 0; 19178 w->base_line_number = 0;
19179 19179
@@ -35810,7 +35810,7 @@ note_fringe_highlight (struct frame *f, Lisp_Object window, int x, int y,
35810 35810
35811 /* NOTE: iterating over glyphs can only find text properties coming 35811 /* NOTE: iterating over glyphs can only find text properties coming
35812 from visible text. This means that zero-length overlays and 35812 from visible text. This means that zero-length overlays and
35813 invisibile text are NOT inspected. */ 35813 invisible text are NOT inspected. */
35814 for (; glyph_num; glyph_num--, glyph++) 35814 for (; glyph_num; glyph_num--, glyph++)
35815 { 35815 {
35816 Lisp_Object pos = make_fixnum (glyph->charpos); 35816 Lisp_Object pos = make_fixnum (glyph->charpos);