aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-02-16 16:33:36 -0500
committerGlenn Morris2018-02-16 16:33:36 -0500
commit9ab3df197f1ee7f23df30f554209b863369f06ee (patch)
tree7a36bd8eb04f44ef57f78f0c8d8300423fb274ee /src
parent66a4e651f3cf38c320d1a9d5ae6f88dcc641792b (diff)
downloademacs-9ab3df197f1ee7f23df30f554209b863369f06ee.tar.gz
emacs-9ab3df197f1ee7f23df30f554209b863369f06ee.zip
; Fix doc typos related to indefinite articles
Diffstat (limited to 'src')
-rw-r--r--src/character.c2
-rw-r--r--src/character.h2
-rw-r--r--src/charset.c2
-rw-r--r--src/coding.c2
-rw-r--r--src/dbusbind.c2
-rw-r--r--src/image.c2
-rw-r--r--src/inotify.c2
-rw-r--r--src/keymap.c2
-rw-r--r--src/regex.c2
-rw-r--r--src/syntax.c2
-rw-r--r--src/xdisp.c2
11 files changed, 11 insertions, 11 deletions
diff --git a/src/character.c b/src/character.c
index fa817a50317..deac1fa22ec 100644
--- a/src/character.c
+++ b/src/character.c
@@ -983,7 +983,7 @@ alphabeticp (int c)
983 || gen_cat == UNICODE_CATEGORY_Nl); 983 || gen_cat == UNICODE_CATEGORY_Nl);
984} 984}
985 985
986/* Return true if C is a alphabetic or decimal-number character. */ 986/* Return true if C is an alphabetic or decimal-number character. */
987bool 987bool
988alphanumericp (int c) 988alphanumericp (int c)
989{ 989{
diff --git a/src/character.h b/src/character.h
index c716885d46b..1f21b2ad330 100644
--- a/src/character.h
+++ b/src/character.h
@@ -693,7 +693,7 @@ INLINE int
693char_table_translate (Lisp_Object obj, int ch) 693char_table_translate (Lisp_Object obj, int ch)
694{ 694{
695 /* This internal function is expected to be called with valid arguments, 695 /* This internal function is expected to be called with valid arguments,
696 so there is a eassert instead of CHECK_xxx for the sake of speed. */ 696 so there is an eassert instead of CHECK_xxx for the sake of speed. */
697 eassert (CHAR_VALID_P (ch)); 697 eassert (CHAR_VALID_P (ch));
698 eassert (CHAR_TABLE_P (obj)); 698 eassert (CHAR_TABLE_P (obj));
699 obj = CHAR_TABLE_REF (obj, ch); 699 obj = CHAR_TABLE_REF (obj, ch);
diff --git a/src/charset.c b/src/charset.c
index cc61300b6bd..05290e86b4e 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -2332,7 +2332,7 @@ init_charset_once (void)
2332 Don't make the value so small that the table is reallocated during 2332 Don't make the value so small that the table is reallocated during
2333 bootstrapping, as glibc malloc calls larger than just under 64 KiB 2333 bootstrapping, as glibc malloc calls larger than just under 64 KiB
2334 during an initial bootstrap wreak havoc after dumping; see the 2334 during an initial bootstrap wreak havoc after dumping; see the
2335 M_MMAP_THRESHOLD value in alloc.c, plus there is a extra overhead 2335 M_MMAP_THRESHOLD value in alloc.c, plus there is an extra overhead
2336 internal to glibc malloc and perhaps to Emacs malloc debugging. */ 2336 internal to glibc malloc and perhaps to Emacs malloc debugging. */
2337static struct charset charset_table_init[180]; 2337static struct charset charset_table_init[180];
2338 2338
diff --git a/src/coding.c b/src/coding.c
index a7b040e2712..582b9268dbf 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -252,7 +252,7 @@ decode_coding_XXXX (struct coding_system *coding)
252 CODING_RESULT_XXX indicating how the encoding finished. 252 CODING_RESULT_XXX indicating how the encoding finished.
253 253
254 DST_BYTES zero means that source area and destination area are 254 DST_BYTES zero means that source area and destination area are
255 overlapped, which means that we can produce a encoded text until it 255 overlapped, which means that we can produce an encoded text until it
256 reaches at the head of not-yet-encoded source text. 256 reaches at the head of not-yet-encoded source text.
257 257
258 Below is a template of these functions. */ 258 Below is a template of these functions. */
diff --git a/src/dbusbind.c b/src/dbusbind.c
index 63dda583529..ec3707d18f3 100644
--- a/src/dbusbind.c
+++ b/src/dbusbind.c
@@ -1401,7 +1401,7 @@ usage: (dbus-message-internal &rest REST) */)
1401 1401
1402 if ((mtype == DBUS_MESSAGE_TYPE_ERROR) 1402 if ((mtype == DBUS_MESSAGE_TYPE_ERROR)
1403 && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED))) 1403 && (!dbus_message_set_error_name (dmessage, DBUS_ERROR_FAILED)))
1404 XD_SIGNAL1 (build_string ("Unable to create a error message")); 1404 XD_SIGNAL1 (build_string ("Unable to create an error message"));
1405 } 1405 }
1406 1406
1407 /* Check for timeout parameter. */ 1407 /* Check for timeout parameter. */
diff --git a/src/image.c b/src/image.c
index 6e860834378..37416c16168 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8281,7 +8281,7 @@ extern WandExport void PixelGetMagickColor (const PixelWand *,
8281#endif 8281#endif
8282 8282
8283/* Log ImageMagick error message. 8283/* Log ImageMagick error message.
8284 Useful when a ImageMagick function returns the status `MagickFalse'. */ 8284 Useful when an ImageMagick function returns the status `MagickFalse'. */
8285 8285
8286static void 8286static void
8287imagemagick_error (MagickWand *wand) 8287imagemagick_error (MagickWand *wand)
diff --git a/src/inotify.c b/src/inotify.c
index 08da308c978..e06cc97c6a7 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -503,7 +503,7 @@ DEFUN ("inotify-watch-list", Finotify_watch_list, Sinotify_watch_list, 0, 0, 0,
503} 503}
504 504
505DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0, 505DEFUN ("inotify-allocated-p", Finotify_allocated_p, Sinotify_allocated_p, 0, 0, 0,
506 doc: /* Return non-nil, if a inotify instance is allocated. */) 506 doc: /* Return non-nil, if an inotify instance is allocated. */)
507{ 507{
508 return inotifyfd < 0 ? Qnil : Qt; 508 return inotifyfd < 0 ? Qnil : Qt;
509} 509}
diff --git a/src/keymap.c b/src/keymap.c
index 80a899b5755..c8cc933e782 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1278,7 +1278,7 @@ append_key (Lisp_Object key_sequence, Lisp_Object key)
1278 return CALLN (Fvconcat, key_sequence, key_list); 1278 return CALLN (Fvconcat, key_sequence, key_list);
1279} 1279}
1280 1280
1281/* Given a event type C which is a symbol, 1281/* Given an event type C which is a symbol,
1282 signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */ 1282 signal an error if is a mistake such as RET or M-RET or C-DEL, etc. */
1283 1283
1284static void 1284static void
diff --git a/src/regex.c b/src/regex.c
index d70a59cbb85..e8b99f6f023 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -5792,7 +5792,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const_re_char *string1,
5792 5792
5793 EXTRACT_NUMBER (mcnt, p2 - 2); 5793 EXTRACT_NUMBER (mcnt, p2 - 2);
5794 5794
5795 /* Ensure this is a indeed the trivial kind of loop 5795 /* Ensure this is indeed the trivial kind of loop
5796 we are expecting. */ 5796 we are expecting. */
5797 assert (skip_one_char (p1) == p2 - 3); 5797 assert (skip_one_char (p1) == p2 - 3);
5798 assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p); 5798 assert ((re_opcode_t) p2[-3] == jump && p2 + mcnt == p);
diff --git a/src/syntax.c b/src/syntax.c
index e6a21e5433e..378064611cc 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -3028,7 +3028,7 @@ Comments are ignored if `parse-sexp-ignore-comments' is non-nil.
3028 3028
3029If we reach the beginning or end of the accessible part of the buffer 3029If we reach the beginning or end of the accessible part of the buffer
3030before we have scanned over COUNT lists, return nil if the depth at 3030before we have scanned over COUNT lists, return nil if the depth at
3031that point is zero, and signal a error if the depth is nonzero. */) 3031that point is zero, and signal an error if the depth is nonzero. */)
3032 (Lisp_Object from, Lisp_Object count, Lisp_Object depth) 3032 (Lisp_Object from, Lisp_Object count, Lisp_Object depth)
3033{ 3033{
3034 CHECK_NUMBER (from); 3034 CHECK_NUMBER (from);
diff --git a/src/xdisp.c b/src/xdisp.c
index bf1737b9cf7..da9c31314ca 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32479,7 +32479,7 @@ or `nobreak-hyphen' face respectively.
32479U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and 32479U+00A0 (no-break space), U+00AD (soft hyphen), U+2010 (hyphen), and
32480U+2011 (non-breaking hyphen) are affected. 32480U+2011 (non-breaking hyphen) are affected.
32481 32481
32482Any other non-nil value means to display these characters as a escape 32482Any other non-nil value means to display these characters as an escape
32483glyph followed by an ordinary space or hyphen. 32483glyph followed by an ordinary space or hyphen.
32484 32484
32485A value of nil means no special handling of these characters. */); 32485A value of nil means no special handling of these characters. */);