diff options
| author | Glenn Morris | 2018-02-16 15:16:15 -0500 |
|---|---|---|
| committer | Glenn Morris | 2018-02-16 15:16:15 -0500 |
| commit | 66a4e651f3cf38c320d1a9d5ae6f88dcc641792b (patch) | |
| tree | 0fa5ba9ab57893ae3bca46bd09d8b52105f8a17a /lisp/textmodes | |
| parent | 35e5c57db311c3d6c1c3a8dd4edc3d756d1d5d24 (diff) | |
| download | emacs-66a4e651f3cf38c320d1a9d5ae6f88dcc641792b.tar.gz emacs-66a4e651f3cf38c320d1a9d5ae6f88dcc641792b.zip | |
; Fix doc typos related to indefinite articles
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/artist.el | 28 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-vars.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 12 |
3 files changed, 21 insertions, 21 deletions
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index 73419072536..af7bcc77cdf 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -1025,78 +1025,78 @@ If DRAW-HOW is `artist-do-poly': | |||
| 1025 | 1025 | ||
| 1026 | (defsubst artist-go-get-keyword (info-variant-part) | 1026 | (defsubst artist-go-get-keyword (info-variant-part) |
| 1027 | "Retrieve the keyword component from an INFO-VARIANT-PART. | 1027 | "Retrieve the keyword component from an INFO-VARIANT-PART. |
| 1028 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1028 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1029 | (elt info-variant-part 0)) | 1029 | (elt info-variant-part 0)) |
| 1030 | 1030 | ||
| 1031 | (defsubst artist-go-get-symbol (info-variant-part) | 1031 | (defsubst artist-go-get-symbol (info-variant-part) |
| 1032 | "Retrieve the symbol component from an INFO-VARIANT-PART. | 1032 | "Retrieve the symbol component from an INFO-VARIANT-PART. |
| 1033 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1033 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1034 | (elt info-variant-part 1)) | 1034 | (elt info-variant-part 1)) |
| 1035 | 1035 | ||
| 1036 | (defsubst artist-go-get-mode-line (info-variant-part) | 1036 | (defsubst artist-go-get-mode-line (info-variant-part) |
| 1037 | "Retrieve the mode line component from an INFO-VARIANT-PART. | 1037 | "Retrieve the mode line component from an INFO-VARIANT-PART. |
| 1038 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1038 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1039 | (elt info-variant-part 2)) | 1039 | (elt info-variant-part 2)) |
| 1040 | 1040 | ||
| 1041 | (defsubst artist-go-get-arrow-pred (info-variant-part) | 1041 | (defsubst artist-go-get-arrow-pred (info-variant-part) |
| 1042 | "Retrieve the arrow predicate component from an INFO-VARIANT-PART. | 1042 | "Retrieve the arrow predicate component from an INFO-VARIANT-PART. |
| 1043 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1043 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1044 | (elt info-variant-part 3)) | 1044 | (elt info-variant-part 3)) |
| 1045 | 1045 | ||
| 1046 | (defsubst artist-go-get-arrow-set-fn (info-variant-part) | 1046 | (defsubst artist-go-get-arrow-set-fn (info-variant-part) |
| 1047 | "Retrieve the arrow set component from an INFO-VARIANT-PART. | 1047 | "Retrieve the arrow set component from an INFO-VARIANT-PART. |
| 1048 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1048 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1049 | (elt info-variant-part 4)) | 1049 | (elt info-variant-part 4)) |
| 1050 | 1050 | ||
| 1051 | (defsubst artist-go-get-init-fn (info-variant-part) | 1051 | (defsubst artist-go-get-init-fn (info-variant-part) |
| 1052 | "Retrieve the init function component from an INFO-VARIANT-PART. | 1052 | "Retrieve the init function component from an INFO-VARIANT-PART. |
| 1053 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1053 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1054 | (elt info-variant-part 5)) | 1054 | (elt info-variant-part 5)) |
| 1055 | 1055 | ||
| 1056 | (defsubst artist-go-get-prep-fill-fn (info-variant-part) | 1056 | (defsubst artist-go-get-prep-fill-fn (info-variant-part) |
| 1057 | "Retrieve the fill preparation function component from an INFO-VARIANT-PART. | 1057 | "Retrieve the fill preparation function component from an INFO-VARIANT-PART. |
| 1058 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1058 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1059 | (elt info-variant-part 6)) | 1059 | (elt info-variant-part 6)) |
| 1060 | 1060 | ||
| 1061 | (defsubst artist-go-get-exit-fn (info-variant-part) | 1061 | (defsubst artist-go-get-exit-fn (info-variant-part) |
| 1062 | "Retrieve the exit component from an INFO-VARIANT-PART. | 1062 | "Retrieve the exit component from an INFO-VARIANT-PART. |
| 1063 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1063 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1064 | (elt info-variant-part 7)) | 1064 | (elt info-variant-part 7)) |
| 1065 | 1065 | ||
| 1066 | (defsubst artist-go-get-draw-how (info-variant-part) | 1066 | (defsubst artist-go-get-draw-how (info-variant-part) |
| 1067 | "Retrieve the draw how component from an INFO-VARIANT-PART. | 1067 | "Retrieve the draw how component from an INFO-VARIANT-PART. |
| 1068 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1068 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1069 | (elt info-variant-part 8)) | 1069 | (elt info-variant-part 8)) |
| 1070 | 1070 | ||
| 1071 | (defsubst artist-go-get-draw-fn (info-variant-part) | 1071 | (defsubst artist-go-get-draw-fn (info-variant-part) |
| 1072 | "Retrieve the draw function component from an INFO-VARIANT-PART. | 1072 | "Retrieve the draw function component from an INFO-VARIANT-PART. |
| 1073 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part." | 1073 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part." |
| 1074 | (elt info-variant-part 9)) | 1074 | (elt info-variant-part 9)) |
| 1075 | 1075 | ||
| 1076 | (defsubst artist-go-get-undraw-fn (info-variant-part) | 1076 | (defsubst artist-go-get-undraw-fn (info-variant-part) |
| 1077 | "Retrieve the undraw function component from an INFO-VARIANT-PART. | 1077 | "Retrieve the undraw function component from an INFO-VARIANT-PART. |
| 1078 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1078 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1079 | This interval function component is available only if the `draw-how' | 1079 | This interval function component is available only if the `draw-how' |
| 1080 | component is other than `artist-do-continously' or 1." | 1080 | component is other than `artist-do-continously' or 1." |
| 1081 | (elt (elt info-variant-part 10) 0)) | 1081 | (elt (elt info-variant-part 10) 0)) |
| 1082 | 1082 | ||
| 1083 | (defsubst artist-go-get-interval-fn (info-variant-part) | 1083 | (defsubst artist-go-get-interval-fn (info-variant-part) |
| 1084 | "Retrieve the interval function component from an INFO-VARIANT-PART. | 1084 | "Retrieve the interval function component from an INFO-VARIANT-PART. |
| 1085 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1085 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1086 | This interval function component is available only if the `draw-how' | 1086 | This interval function component is available only if the `draw-how' |
| 1087 | component is `artist-do-continously'." | 1087 | component is `artist-do-continously'." |
| 1088 | (elt (elt info-variant-part 10) 0)) | 1088 | (elt (elt info-variant-part 10) 0)) |
| 1089 | 1089 | ||
| 1090 | (defsubst artist-go-get-fill-pred (info-variant-part) | 1090 | (defsubst artist-go-get-fill-pred (info-variant-part) |
| 1091 | "Retrieve the fill predicate component from an INFO-VARIANT-PART. | 1091 | "Retrieve the fill predicate component from an INFO-VARIANT-PART. |
| 1092 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1092 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1093 | This interval function component is available only if the `draw-how' | 1093 | This interval function component is available only if the `draw-how' |
| 1094 | component is other than `artist-do-continously' or 1." | 1094 | component is other than `artist-do-continously' or 1." |
| 1095 | (elt (elt info-variant-part 10) 1)) | 1095 | (elt (elt info-variant-part 10) 1)) |
| 1096 | 1096 | ||
| 1097 | (defsubst artist-go-get-fill-fn (info-variant-part) | 1097 | (defsubst artist-go-get-fill-fn (info-variant-part) |
| 1098 | "Retrieve the fill function component from an INFO-VARIANT-PART. | 1098 | "Retrieve the fill function component from an INFO-VARIANT-PART. |
| 1099 | An INFO-VARIANT-PART is the shifted or unshifted info from a info-part. | 1099 | An INFO-VARIANT-PART is the shifted or unshifted info from an info-part. |
| 1100 | This interval function component is available only if the `draw-how' | 1100 | This interval function component is available only if the `draw-how' |
| 1101 | component is other than `artist-do-continously' or 1." | 1101 | component is other than `artist-do-continously' or 1." |
| 1102 | (elt (elt info-variant-part 10) 2)) | 1102 | (elt (elt info-variant-part 10) 2)) |
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 6d253f1c205..01ee4f5fa4d 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el | |||
| @@ -1405,7 +1405,7 @@ the text, so that the text has to be repeated outside the index macro. | |||
| 1405 | Needed for `reftex-index-selection-or-word' and for indexing from the | 1405 | Needed for `reftex-index-selection-or-word' and for indexing from the |
| 1406 | phrase buffer. | 1406 | phrase buffer. |
| 1407 | 1407 | ||
| 1408 | The final entry may also be a symbol if this entry has a association | 1408 | The final entry may also be a symbol if this entry has an association |
| 1409 | in the variable `reftex-index-macros-builtin' to specify the main | 1409 | in the variable `reftex-index-macros-builtin' to specify the main |
| 1410 | indexing package you are using. Valid values are currently | 1410 | indexing package you are using. Valid values are currently |
| 1411 | default The LaTeX default - unnecessary to specify this one | 1411 | default The LaTeX default - unnecessary to specify this one |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 87ea1e827d5..b1b4f1073eb 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -652,7 +652,7 @@ After interpretation of ARGS the results are concatenated as for | |||
| 652 | &aux | 652 | &aux |
| 653 | (char (rst-Ado--validate-char char-arg)) | 653 | (char (rst-Ado--validate-char char-arg)) |
| 654 | (-style 'simple))) | 654 | (-style 'simple))) |
| 655 | ;; Construct a over-and-under section header. | 655 | ;; Construct an over-and-under section header. |
| 656 | (:constructor | 656 | (:constructor |
| 657 | rst-Ado-new-over-and-under | 657 | rst-Ado-new-over-and-under |
| 658 | (char-arg | 658 | (char-arg |
| @@ -717,7 +717,7 @@ Return CHAR if so or signal an error otherwise." | |||
| 717 | 717 | ||
| 718 | (defun rst-Ado-is-over-and-under (self) | 718 | (defun rst-Ado-is-over-and-under (self) |
| 719 | ;; testcover: ok. | 719 | ;; testcover: ok. |
| 720 | "Return non-nil if SELF is a over-and-under section adornment." | 720 | "Return non-nil if SELF is an over-and-under section adornment." |
| 721 | (cl-check-type self rst-Ado) | 721 | (cl-check-type self rst-Ado) |
| 722 | (eq (rst-Ado--style self) 'over-and-under)) | 722 | (eq (rst-Ado--style self) 'over-and-under)) |
| 723 | 723 | ||
| @@ -855,7 +855,7 @@ Return ADO if so or signal an error otherwise." | |||
| 855 | 855 | ||
| 856 | (defun rst-Hdr-is-over-and-under (self) | 856 | (defun rst-Hdr-is-over-and-under (self) |
| 857 | ;; testcover: ok. | 857 | ;; testcover: ok. |
| 858 | "Return non-nil if SELF is a over-and-under section header." | 858 | "Return non-nil if SELF is an over-and-under section header." |
| 859 | (cl-check-type self rst-Hdr) | 859 | (cl-check-type self rst-Hdr) |
| 860 | (rst-Ado-is-over-and-under (rst-Hdr-ado self))) | 860 | (rst-Ado-is-over-and-under (rst-Hdr-ado self))) |
| 861 | 861 | ||
| @@ -958,7 +958,7 @@ This type is immutable." | |||
| 958 | (or (null und-beg) (integer-or-marker-p und-beg)) | 958 | (or (null und-beg) (integer-or-marker-p und-beg)) |
| 959 | (or (null und-end) (integer-or-marker-p und-end))) | 959 | (or (null und-end) (integer-or-marker-p und-end))) |
| 960 | (signal 'args-out-of-range | 960 | (signal 'args-out-of-range |
| 961 | '("For a over-and-under section adornment all match pairs must be set.")))))) | 961 | '("For an over-and-under section adornment all match pairs must be set.")))))) |
| 962 | match) | 962 | match) |
| 963 | 963 | ||
| 964 | (defun rst-Ttl--validate-indent (indent ado) | 964 | (defun rst-Ttl--validate-indent (indent ado) |
| @@ -1245,7 +1245,7 @@ as well but give an additional message." | |||
| 1245 | ;; Makes paragraphs in region as a bullet list. | 1245 | ;; Makes paragraphs in region as a bullet list. |
| 1246 | (rst-define-key map [?\C-c ?\C-l ?\C-b] #'rst-bullet-list-region | 1246 | (rst-define-key map [?\C-c ?\C-l ?\C-b] #'rst-bullet-list-region |
| 1247 | [?\C-c ?\C-b]) | 1247 | [?\C-c ?\C-b]) |
| 1248 | ;; Makes paragraphs in region as a enumeration. | 1248 | ;; Makes paragraphs in region an enumeration. |
| 1249 | (rst-define-key map [?\C-c ?\C-l ?\C-e] #'rst-enumerate-region | 1249 | (rst-define-key map [?\C-c ?\C-l ?\C-e] #'rst-enumerate-region |
| 1250 | [?\C-c ?\C-e]) | 1250 | [?\C-c ?\C-e]) |
| 1251 | ;; Converts bullets to an enumeration. | 1251 | ;; Converts bullets to an enumeration. |
| @@ -1552,7 +1552,7 @@ file." | |||
| 1552 | (defcustom rst-default-indent 1 | 1552 | (defcustom rst-default-indent 1 |
| 1553 | "Number of characters to indent the section title. | 1553 | "Number of characters to indent the section title. |
| 1554 | This is only used while toggling adornment styles when switching | 1554 | This is only used while toggling adornment styles when switching |
| 1555 | from a simple adornment style to a over-and-under adornment | 1555 | from a simple adornment style to an over-and-under adornment |
| 1556 | style. In addition this is used in cases where the adornments | 1556 | style. In addition this is used in cases where the adornments |
| 1557 | found in the buffer are to be used but the indentation for | 1557 | found in the buffer are to be used but the indentation for |
| 1558 | over-and-under adornments is inconsistent across the buffer." | 1558 | over-and-under adornments is inconsistent across the buffer." |