diff options
| author | Štěpán Němec | 2020-04-21 10:51:45 +0200 |
|---|---|---|
| committer | Štěpán Němec | 2021-04-24 18:26:07 +0200 |
| commit | 2c2dfbbbf052353d3d64109e9b7e3d9b247d1e3c (patch) | |
| tree | 83770ac6ffa9d9530fc1d10a50e89140962c20be | |
| parent | af464e438004698865eafc1b871d4316cfcd8dad (diff) | |
| download | emacs-2c2dfbbbf052353d3d64109e9b7e3d9b247d1e3c.tar.gz emacs-2c2dfbbbf052353d3d64109e9b7e3d9b247d1e3c.zip | |
; Fix some typos in doc strings and manuals
| -rw-r--r-- | doc/lispref/macros.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 10 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 2 | ||||
| -rw-r--r-- | doc/misc/sem-user.texi | 2 | ||||
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/cl-generic.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 16 | ||||
| -rw-r--r-- | lisp/emacs-lisp/rx.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-styles.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 2 | ||||
| -rw-r--r-- | src/character.h | 2 |
12 files changed, 23 insertions, 23 deletions
diff --git a/doc/lispref/macros.texi b/doc/lispref/macros.texi index e56a85c7478..57b8d396e0a 100644 --- a/doc/lispref/macros.texi +++ b/doc/lispref/macros.texi | |||
| @@ -486,7 +486,7 @@ variable with the same name as one of the macro arguments. Inside the | |||
| 486 | macro body, the macro argument binding is the most local binding of this | 486 | macro body, the macro argument binding is the most local binding of this |
| 487 | variable, so any references inside the form being evaluated do refer to | 487 | variable, so any references inside the form being evaluated do refer to |
| 488 | it. Here is an example: | 488 | it. Here is an example: |
| 489 | 489 | @c FIXME with lexical-binding t this example no longer applies | |
| 490 | @example | 490 | @example |
| 491 | @group | 491 | @group |
| 492 | (defmacro foo (a) | 492 | (defmacro foo (a) |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 84f5d2f0819..c22930d624e 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -301,7 +301,7 @@ character, and returns that character. If @var{char} is neither | |||
| 301 | @end defun | 301 | @end defun |
| 302 | 302 | ||
| 303 | @defun unibyte-char-to-multibyte char | 303 | @defun unibyte-char-to-multibyte char |
| 304 | This convert the unibyte character @var{char} to a multibyte | 304 | This converts the unibyte character @var{char} to a multibyte |
| 305 | character, assuming @var{char} is either @acronym{ASCII} or raw 8-bit | 305 | character, assuming @var{char} is either @acronym{ASCII} or raw 8-bit |
| 306 | byte. | 306 | byte. |
| 307 | @end defun | 307 | @end defun |
| @@ -676,7 +676,7 @@ This function returns the value of @var{char}'s @var{propname} property. | |||
| 676 | @end group | 676 | @end group |
| 677 | @group | 677 | @group |
| 678 | (get-char-code-property ?\( 'paired-bracket) | 678 | (get-char-code-property ?\( 'paired-bracket) |
| 679 | @result{} 41 ;; closing parenthesis | 679 | @result{} 41 ; closing parenthesis |
| 680 | @end group | 680 | @end group |
| 681 | @group | 681 | @group |
| 682 | (get-char-code-property ?\) 'bracket-type) | 682 | (get-char-code-property ?\) 'bracket-type) |
| @@ -955,13 +955,13 @@ translating the result. | |||
| 955 | 955 | ||
| 956 | @defvar standard-translation-table-for-decode | 956 | @defvar standard-translation-table-for-decode |
| 957 | This is the default translation table for decoding. If a coding | 957 | This is the default translation table for decoding. If a coding |
| 958 | systems specifies its own translation tables, the table that is the | 958 | system specifies its own translation tables, the table that is the |
| 959 | value of this variable, if non-@code{nil}, is applied after them. | 959 | value of this variable, if non-@code{nil}, is applied after them. |
| 960 | @end defvar | 960 | @end defvar |
| 961 | 961 | ||
| 962 | @defvar standard-translation-table-for-encode | 962 | @defvar standard-translation-table-for-encode |
| 963 | This is the default translation table for encoding. If a coding | 963 | This is the default translation table for encoding. If a coding |
| 964 | systems specifies its own translation tables, the table that is the | 964 | system specifies its own translation tables, the table that is the |
| 965 | value of this variable, if non-@code{nil}, is applied after them. | 965 | value of this variable, if non-@code{nil}, is applied after them. |
| 966 | @end defvar | 966 | @end defvar |
| 967 | 967 | ||
| @@ -1258,7 +1258,7 @@ name or @code{nil}. | |||
| 1258 | @defun check-coding-system coding-system | 1258 | @defun check-coding-system coding-system |
| 1259 | This function checks the validity of @var{coding-system}. If that is | 1259 | This function checks the validity of @var{coding-system}. If that is |
| 1260 | valid, it returns @var{coding-system}. If @var{coding-system} is | 1260 | valid, it returns @var{coding-system}. If @var{coding-system} is |
| 1261 | @code{nil}, the function return @code{nil}. For any other values, it | 1261 | @code{nil}, the function returns @code{nil}. For any other values, it |
| 1262 | signals an error whose @code{error-symbol} is @code{coding-system-error} | 1262 | signals an error whose @code{error-symbol} is @code{coding-system-error} |
| 1263 | (@pxref{Signaling Errors, signal}). | 1263 | (@pxref{Signaling Errors, signal}). |
| 1264 | @end defun | 1264 | @end defun |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index b6553c8a636..869bb272664 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -17966,7 +17966,7 @@ This creates a group including all flagged messages from all groups on | |||
| 17966 | two IMAP servers, "home" and "work". | 17966 | two IMAP servers, "home" and "work". |
| 17967 | 17967 | ||
| 17968 | And one last example. Here is a function that runs a search query to | 17968 | And one last example. Here is a function that runs a search query to |
| 17969 | find all message that have been received recently from certain groups: | 17969 | find all messages that have been received recently from certain groups: |
| 17970 | 17970 | ||
| 17971 | @lisp | 17971 | @lisp |
| 17972 | (defun my-recent-email (args) | 17972 | (defun my-recent-email (args) |
diff --git a/doc/misc/sem-user.texi b/doc/misc/sem-user.texi index c37291ac143..70a19484e8a 100644 --- a/doc/misc/sem-user.texi +++ b/doc/misc/sem-user.texi | |||
| @@ -142,7 +142,7 @@ Move point ``up'' one reference (@code{senator-go-to-up-reference}). | |||
| 142 | The meaning of ``up'' is language-dependent; in C++, for instance, | 142 | The meaning of ``up'' is language-dependent; in C++, for instance, |
| 143 | this means moving to the parent of the current tag. | 143 | this means moving to the parent of the current tag. |
| 144 | 144 | ||
| 145 | @item C-c, @key{SPC} | 145 | @item C-c , @key{SPC} |
| 146 | Display a list of possible completions for the symbol at point | 146 | Display a list of possible completions for the symbol at point |
| 147 | (@code{semantic-complete-analyze-inline}). This also activates a | 147 | (@code{semantic-complete-analyze-inline}). This also activates a |
| 148 | special set of keybindings for choosing a completion: @key{RET} | 148 | special set of keybindings for choosing a completion: @key{RET} |
| @@ -1684,7 +1684,7 @@ to the 'project-root' of the current project, when available. | |||
| 1684 | *** The TAB key binding in *xref* buffers is obsolete. | 1684 | *** The TAB key binding in *xref* buffers is obsolete. |
| 1685 | Use 'C-u RET' instead. The TAB binding in *xref* buffers is still | 1685 | Use 'C-u RET' instead. The TAB binding in *xref* buffers is still |
| 1686 | supported, but we plan on removing it in a future version; at that | 1686 | supported, but we plan on removing it in a future version; at that |
| 1687 | time, the command 'xref-quit-and-got-xref' will no longer have a key | 1687 | time, the command 'xref-quit-and-goto-xref' will no longer have a key |
| 1688 | binding in 'xref--xref-buffer-mode-map'. | 1688 | binding in 'xref--xref-buffer-mode-map'. |
| 1689 | 1689 | ||
| 1690 | ** json.el | 1690 | ** json.el |
diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index f5b8c7b662f..31aa0cb4f9c 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el | |||
| @@ -438,7 +438,7 @@ Presumes point is at the end of the `cl-defmethod' symbol." | |||
| 438 | ;;;###autoload | 438 | ;;;###autoload |
| 439 | (defmacro cl-defmethod (name args &rest body) | 439 | (defmacro cl-defmethod (name args &rest body) |
| 440 | "Define a new method for generic function NAME. | 440 | "Define a new method for generic function NAME. |
| 441 | This it defines an implementation of NAME to use for invocations | 441 | This defines an implementation of NAME to use for invocations |
| 442 | of specific types of arguments. | 442 | of specific types of arguments. |
| 443 | 443 | ||
| 444 | ARGS is a list of dispatch arguments (see `cl-defun'), but where | 444 | ARGS is a list of dispatch arguments (see `cl-defun'), but where |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index a02406a7b73..b4f068cf3ae 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -63,7 +63,7 @@ If this variable is set to 0, no idle time is required." | |||
| 63 | :type 'number) | 63 | :type 'number) |
| 64 | 64 | ||
| 65 | (defcustom eldoc-print-after-edit nil | 65 | (defcustom eldoc-print-after-edit nil |
| 66 | "If non-nil eldoc info is only shown when editing. | 66 | "If non-nil, eldoc info is only shown when editing. |
| 67 | Changing the value requires toggling `eldoc-mode'." | 67 | Changing the value requires toggling `eldoc-mode'." |
| 68 | :type 'boolean) | 68 | :type 'boolean) |
| 69 | 69 | ||
| @@ -391,12 +391,12 @@ name, inside its arg list, or on any object with some associated | |||
| 391 | information. | 391 | information. |
| 392 | 392 | ||
| 393 | Each hook function is called with at least one argument CALLBACK, | 393 | Each hook function is called with at least one argument CALLBACK, |
| 394 | a function, and decides whether to display a doc short string | 394 | a function, and decides whether to display a short doc string |
| 395 | about the context around point. | 395 | about the context around point. |
| 396 | 396 | ||
| 397 | - If that decision can be taken quickly, the hook function may | 397 | - If that decision can be taken quickly, the hook function may |
| 398 | call CALLBACK immediately following the protocol described | 398 | call CALLBACK immediately, following the protocol described |
| 399 | below. Alternatively it may ignore CALLBACK entirely and | 399 | below. Alternatively, it may ignore CALLBACK entirely and |
| 400 | return either the doc string, or nil if there's no doc | 400 | return either the doc string, or nil if there's no doc |
| 401 | appropriate for the context. | 401 | appropriate for the context. |
| 402 | 402 | ||
| @@ -688,11 +688,11 @@ following values are allowed: | |||
| 688 | - `eldoc-documentation-compose': calls all functions in the | 688 | - `eldoc-documentation-compose': calls all functions in the |
| 689 | special hook and displays all of the resulting doc strings | 689 | special hook and displays all of the resulting doc strings |
| 690 | together. Wait for all strings to be ready, and preserve their | 690 | together. Wait for all strings to be ready, and preserve their |
| 691 | relative as specified by the order of functions in the hook; | 691 | relative order as specified by the order of functions in the hook; |
| 692 | 692 | ||
| 693 | - `eldoc-documentation-compose-eagerly': calls all functions in | 693 | - `eldoc-documentation-compose-eagerly': calls all functions in |
| 694 | the special hook and display as many of the resulting doc | 694 | the special hook and displays as many of the resulting doc |
| 695 | strings as possible, as soon as possible. Preserving the | 695 | strings as possible, as soon as possible. Preserves the |
| 696 | relative order of doc strings; | 696 | relative order of doc strings; |
| 697 | 697 | ||
| 698 | - `eldoc-documentation-enthusiast': calls all functions in the | 698 | - `eldoc-documentation-enthusiast': calls all functions in the |
| @@ -793,7 +793,7 @@ function passes responsibility to the functions in | |||
| 793 | Other third-party values of `eldoc-documentation-strategy' should | 793 | Other third-party values of `eldoc-documentation-strategy' should |
| 794 | not use `eldoc--make-callback'. They must find some alternate | 794 | not use `eldoc--make-callback'. They must find some alternate |
| 795 | way to produce callbacks to feed to | 795 | way to produce callbacks to feed to |
| 796 | `eldoc-documentation-function' and should endeavour to display | 796 | `eldoc-documentation-functions' and should endeavour to display |
| 797 | the docstrings eventually produced, using | 797 | the docstrings eventually produced, using |
| 798 | `eldoc-display-functions'." | 798 | `eldoc-display-functions'." |
| 799 | (let* (;; How many callbacks have been created by the strategy | 799 | (let* (;; How many callbacks have been created by the strategy |
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 56e588ee0d5..1e3eb9c12b1 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el | |||
| @@ -1210,7 +1210,7 @@ unmatchable Never match anything at all. | |||
| 1210 | CHARCLASS Match a character from a character class. One of: | 1210 | CHARCLASS Match a character from a character class. One of: |
| 1211 | alpha, alphabetic, letter Alphabetic characters (defined by Unicode). | 1211 | alpha, alphabetic, letter Alphabetic characters (defined by Unicode). |
| 1212 | alnum, alphanumeric Alphabetic or decimal digit chars (Unicode). | 1212 | alnum, alphanumeric Alphabetic or decimal digit chars (Unicode). |
| 1213 | digit numeric, num 0-9. | 1213 | digit, numeric, num 0-9. |
| 1214 | xdigit, hex-digit, hex 0-9, A-F, a-f. | 1214 | xdigit, hex-digit, hex 0-9, A-F, a-f. |
| 1215 | cntrl, control ASCII codes 0-31. | 1215 | cntrl, control ASCII codes 0-31. |
| 1216 | blank Horizontal whitespace (Unicode). | 1216 | blank Horizontal whitespace (Unicode). |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index eeb5ac851ae..aa4c7532878 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -8089,7 +8089,7 @@ Return nil if there are no unseen articles." | |||
| 8089 | 8089 | ||
| 8090 | (defun gnus-summary-first-unseen-or-unread-subject () | 8090 | (defun gnus-summary-first-unseen-or-unread-subject () |
| 8091 | "Place the point on the subject line of the first unseen and unread article. | 8091 | "Place the point on the subject line of the first unseen and unread article. |
| 8092 | If all article have been seen, on the subject line of the first unread | 8092 | If all articles have been seen, on the subject line of the first unread |
| 8093 | article." | 8093 | article." |
| 8094 | (interactive nil gnus-summary-mode) | 8094 | (interactive nil gnus-summary-mode) |
| 8095 | (prog1 | 8095 | (prog1 |
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el index 77cad77711a..8514434e9ac 100644 --- a/lisp/progmodes/cc-styles.el +++ b/lisp/progmodes/cc-styles.el | |||
| @@ -374,7 +374,7 @@ in this way. | |||
| 374 | If DONT-OVERRIDE is t, style variables that already have values (i.e., whose | 374 | If DONT-OVERRIDE is t, style variables that already have values (i.e., whose |
| 375 | values are not the symbol `set-from-style') will not be overridden. CC Mode | 375 | values are not the symbol `set-from-style') will not be overridden. CC Mode |
| 376 | calls c-set-style internally in this way whilst initializing a buffer; if | 376 | calls c-set-style internally in this way whilst initializing a buffer; if |
| 377 | cc-set-style is called like this from anywhere else, it will usually behave as | 377 | c-set-style is called like this from anywhere else, it will usually behave as |
| 378 | a null operation." | 378 | a null operation." |
| 379 | (interactive | 379 | (interactive |
| 380 | (list (let ((completion-ignore-case t) | 380 | (list (let ((completion-ignore-case t) |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index a48b3457aa2..8d2715f611c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -77,7 +77,7 @@ Detection of repeated words is not implemented in | |||
| 77 | "A list of exceptions for duplicated words. | 77 | "A list of exceptions for duplicated words. |
| 78 | It should be a list of (LANGUAGE . EXCEPTION-LIST). | 78 | It should be a list of (LANGUAGE . EXCEPTION-LIST). |
| 79 | 79 | ||
| 80 | LANGUAGE is nil, which means the exceptions apply regardless of | 80 | LANGUAGE can be nil, which means the exceptions apply regardless of |
| 81 | the current dictionary, or a regular expression matching the | 81 | the current dictionary, or a regular expression matching the |
| 82 | dictionary name (`ispell-local-dictionary' or | 82 | dictionary name (`ispell-local-dictionary' or |
| 83 | `ispell-dictionary') for which the exceptions should apply. | 83 | `ispell-dictionary') for which the exceptions should apply. |
diff --git a/src/character.h b/src/character.h index d19e1e2604c..75351cd1edf 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -42,7 +42,7 @@ INLINE_HEADER_BEGIN | |||
| 42 | F9..FF 11111yyy | 42 | F9..FF 11111yyy |
| 43 | 43 | ||
| 44 | In each bit pattern, 'x' and 'y' each represent a single bit of the | 44 | In each bit pattern, 'x' and 'y' each represent a single bit of the |
| 45 | character code payload, and least one 'y' must be a 1 bit. | 45 | character code payload, and at least one 'y' must be a 1 bit. |
| 46 | In the 5-byte sequence, the 22-bit payload cannot exceed 3FFF7F. | 46 | In the 5-byte sequence, the 22-bit payload cannot exceed 3FFF7F. |
| 47 | */ | 47 | */ |
| 48 | 48 | ||