diff options
| author | Štěpán Němec | 2020-03-01 18:50:14 +0100 |
|---|---|---|
| committer | Štěpán Němec | 2020-04-18 17:10:02 +0200 |
| commit | 067b0705986572e42687334c4eaf32988f22f680 (patch) | |
| tree | 70129d8ec8e109cb64f895e462298adf2c2636e8 /doc | |
| parent | f3b62b6c62c41d2e5d15418ea940bce6b11bdf7d (diff) | |
| download | emacs-067b0705986572e42687334c4eaf32988f22f680.tar.gz emacs-067b0705986572e42687334c4eaf32988f22f680.zip | |
; Fix some typos and doc issues (bug#40695)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/fixit.texi | 30 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/functions.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 4 |
5 files changed, 21 insertions, 21 deletions
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi index 3665faf3a8f..dc643e19a4b 100644 --- a/doc/emacs/fixit.texi +++ b/doc/emacs/fixit.texi | |||
| @@ -201,8 +201,8 @@ sentences and paragraphs, respectively. These commands work like | |||
| 201 | A numeric argument to a transpose command serves as a repeat count: it | 201 | A numeric argument to a transpose command serves as a repeat count: it |
| 202 | tells the transpose command to move the character (or word or | 202 | tells the transpose command to move the character (or word or |
| 203 | expression or line) before or containing point across several other | 203 | expression or line) before or containing point across several other |
| 204 | characters (or words or expressions or lines). For example, @kbd{C-u | 204 | characters (or words or expressions or lines). For example, @w{@kbd{C-u |
| 205 | 3 C-t} moves the character before point forward across three other | 205 | 3 C-t}} moves the character before point forward across three other |
| 206 | characters. It would change @samp{f@point{}oobar} into | 206 | characters. It would change @samp{f@point{}oobar} into |
| 207 | @samp{oobf@point{}ar}. This is equivalent to repeating @kbd{C-t} | 207 | @samp{oobf@point{}ar}. This is equivalent to repeating @kbd{C-t} |
| 208 | three times. @kbd{C-u - 4 M-t} moves the word before point backward | 208 | three times. @kbd{C-u - 4 M-t} moves the word before point backward |
| @@ -304,10 +304,10 @@ region; @pxref{Disabled Transient Mark}.) | |||
| 304 | @cindex spell-checking the active region | 304 | @cindex spell-checking the active region |
| 305 | Similarly, the command @kbd{M-x ispell} performs spell-checking in | 305 | Similarly, the command @kbd{M-x ispell} performs spell-checking in |
| 306 | the region if one is active, or in the entire buffer otherwise. The | 306 | the region if one is active, or in the entire buffer otherwise. The |
| 307 | commands @kbd{M-x ispell-buffer} and @kbd{M-x ispell-region} | 307 | commands @w{@kbd{M-x ispell-buffer}} and @w{@kbd{M-x ispell-region}} |
| 308 | explicitly perform spell-checking on the entire buffer or the region | 308 | explicitly perform spell-checking on the entire buffer or the region |
| 309 | respectively. To check spelling in an email message you are writing, | 309 | respectively. To check spelling in an email message you are writing, |
| 310 | use @kbd{M-x ispell-message}; that command checks the whole buffer, | 310 | use @w{@kbd{M-x ispell-message}}; that command checks the whole buffer, |
| 311 | except for material that is indented or appears to be cited from other | 311 | except for material that is indented or appears to be cited from other |
| 312 | messages. @xref{Sending Mail}. | 312 | messages. @xref{Sending Mail}. |
| 313 | 313 | ||
| @@ -365,8 +365,8 @@ wildcard. | |||
| 365 | @item C-g | 365 | @item C-g |
| 366 | @itemx X | 366 | @itemx X |
| 367 | Quit interactive spell-checking, leaving point at the word that was | 367 | Quit interactive spell-checking, leaving point at the word that was |
| 368 | being checked. You can restart checking again afterward with @kbd{C-u | 368 | being checked. You can restart checking again afterward with @w{@kbd{C-u |
| 369 | M-$}. | 369 | M-$}}. |
| 370 | 370 | ||
| 371 | @item x | 371 | @item x |
| 372 | Quit interactive spell-checking and move point back to where it was | 372 | Quit interactive spell-checking and move point back to where it was |
| @@ -384,8 +384,8 @@ Show the list of options. | |||
| 384 | (@code{ispell-complete-word}) performs in-buffer completion based on | 384 | (@code{ispell-complete-word}) performs in-buffer completion based on |
| 385 | spelling correction. Insert the beginning of a word, and then type | 385 | spelling correction. Insert the beginning of a word, and then type |
| 386 | @kbd{M-@key{TAB}}; this shows a list of completions. (If your | 386 | @kbd{M-@key{TAB}}; this shows a list of completions. (If your |
| 387 | window manager intercepts @kbd{M-@key{TAB}}, type @kbd{@key{ESC} | 387 | window manager intercepts @kbd{M-@key{TAB}}, type @w{@kbd{@key{ESC} |
| 388 | @key{TAB}} or @kbd{C-M-i}.) Each completion is listed with a digit or | 388 | @key{TAB}}} or @kbd{C-M-i}.) Each completion is listed with a digit or |
| 389 | character; type that digit or character to choose it. | 389 | character; type that digit or character to choose it. |
| 390 | 390 | ||
| 391 | @cindex @code{ispell} program | 391 | @cindex @code{ispell} program |
| @@ -393,7 +393,7 @@ character; type that digit or character to choose it. | |||
| 393 | Once started, the spell-checker subprocess continues | 393 | Once started, the spell-checker subprocess continues |
| 394 | to run, waiting for something to do, so that subsequent spell-checking | 394 | to run, waiting for something to do, so that subsequent spell-checking |
| 395 | commands complete more quickly. If you want to get rid of the | 395 | commands complete more quickly. If you want to get rid of the |
| 396 | process, use @kbd{M-x ispell-kill-ispell}. This is not usually | 396 | process, use @w{@kbd{M-x ispell-kill-ispell}}. This is not usually |
| 397 | necessary, since the process uses no processor time except when you do | 397 | necessary, since the process uses no processor time except when you do |
| 398 | spelling correction. | 398 | spelling correction. |
| 399 | 399 | ||
| @@ -406,7 +406,7 @@ the standard dictionary and your personal dictionary. The standard | |||
| 406 | dictionary is specified by the variable @code{ispell-local-dictionary} | 406 | dictionary is specified by the variable @code{ispell-local-dictionary} |
| 407 | or, if that is @code{nil}, by the variable @code{ispell-dictionary}. | 407 | or, if that is @code{nil}, by the variable @code{ispell-dictionary}. |
| 408 | If both are @code{nil}, the spelling program's default dictionary is | 408 | If both are @code{nil}, the spelling program's default dictionary is |
| 409 | used. The command @kbd{M-x ispell-change-dictionary} sets the | 409 | used. The command @w{@kbd{M-x ispell-change-dictionary}} sets the |
| 410 | standard dictionary for the buffer and then restarts the subprocess, | 410 | standard dictionary for the buffer and then restarts the subprocess, |
| 411 | so that it will use a different standard dictionary. Your personal | 411 | so that it will use a different standard dictionary. Your personal |
| 412 | dictionary is specified by the variable | 412 | dictionary is specified by the variable |
| @@ -428,8 +428,8 @@ dictionary. | |||
| 428 | @findex flyspell-mode | 428 | @findex flyspell-mode |
| 429 | Flyspell mode is a minor mode that performs automatic spell-checking | 429 | Flyspell mode is a minor mode that performs automatic spell-checking |
| 430 | of the text you type as you type it. When it finds a word that it | 430 | of the text you type as you type it. When it finds a word that it |
| 431 | does not recognize, it highlights that word. Type @kbd{M-x | 431 | does not recognize, it highlights that word. Type @w{@kbd{M-x |
| 432 | flyspell-mode} to toggle Flyspell mode in the current buffer. To | 432 | flyspell-mode}} to toggle Flyspell mode in the current buffer. To |
| 433 | enable Flyspell mode in all text mode buffers, add | 433 | enable Flyspell mode in all text mode buffers, add |
| 434 | @code{flyspell-mode} to @code{text-mode-hook}. @xref{Hooks}. Note | 434 | @code{flyspell-mode} to @code{text-mode-hook}. @xref{Hooks}. Note |
| 435 | that, as Flyspell mode needs to check each word across which you move, | 435 | that, as Flyspell mode needs to check each word across which you move, |
| @@ -445,14 +445,14 @@ it with @kbd{mouse-2} (@code{flyspell-correct-word}) to display a menu | |||
| 445 | of possible corrections and actions. In addition, @kbd{C-.} or | 445 | of possible corrections and actions. In addition, @kbd{C-.} or |
| 446 | @kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) will | 446 | @kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) will |
| 447 | propose various successive corrections for the word at point, and | 447 | propose various successive corrections for the word at point, and |
| 448 | @kbd{C-c $} (@code{flyspell-correct-word-before-point}) will pop up a | 448 | @w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop up a |
| 449 | menu of possible corrections. Of course, you can always correct the | 449 | menu of possible corrections. Of course, you can always correct the |
| 450 | misspelled word by editing it manually in any way you like. | 450 | misspelled word by editing it manually in any way you like. |
| 451 | 451 | ||
| 452 | @findex flyspell-prog-mode | 452 | @findex flyspell-prog-mode |
| 453 | Flyspell Prog mode works just like ordinary Flyspell mode, except | 453 | Flyspell Prog mode works just like ordinary Flyspell mode, except |
| 454 | that it only checks words in comments and string constants. This | 454 | that it only checks words in comments and string constants. This |
| 455 | feature is useful for editing programs. Type @kbd{M-x | 455 | feature is useful for editing programs. Type @w{@kbd{M-x |
| 456 | flyspell-prog-mode} to enable or disable this mode in the current | 456 | flyspell-prog-mode}} to enable or disable this mode in the current |
| 457 | buffer. To enable this mode in all programming mode buffers, add | 457 | buffer. To enable this mode in all programming mode buffers, add |
| 458 | @code{flyspell-prog-mode} to @code{prog-mode-hook} (@pxref{Hooks}). | 458 | @code{flyspell-prog-mode} to @code{prog-mode-hook} (@pxref{Hooks}). |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 2b25d6023cd..85e42d331d3 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -6929,7 +6929,7 @@ end of the buffer continues from the other end. If | |||
| 6929 | is displayed. Any button with a non-@code{nil} @code{skip} property | 6929 | is displayed. Any button with a non-@code{nil} @code{skip} property |
| 6930 | is skipped over. Returns the button found, and signals an error if no | 6930 | is skipped over. Returns the button found, and signals an error if no |
| 6931 | buttons can be found. If @var{no-error} in non-@code{nil}, return nil | 6931 | buttons can be found. If @var{no-error} in non-@code{nil}, return nil |
| 6932 | instead of signalling the error. | 6932 | instead of signaling the error. |
| 6933 | @end deffn | 6933 | @end deffn |
| 6934 | 6934 | ||
| 6935 | @deffn Command backward-button n &optional wrap display-message | 6935 | @deffn Command backward-button n &optional wrap display-message |
| @@ -6941,7 +6941,7 @@ end of the buffer continues from the other end. If | |||
| 6941 | is displayed. Any button with a non-@code{nil} @code{skip} property | 6941 | is displayed. Any button with a non-@code{nil} @code{skip} property |
| 6942 | is skipped over. Returns the button found, and signals an error if no | 6942 | is skipped over. Returns the button found, and signals an error if no |
| 6943 | buttons can be found. If @var{no-error} in non-@code{nil}, return nil | 6943 | buttons can be found. If @var{no-error} in non-@code{nil}, return nil |
| 6944 | instead of signalling the error. | 6944 | instead of signaling the error. |
| 6945 | @end deffn | 6945 | @end deffn |
| 6946 | 6946 | ||
| 6947 | @defun next-button pos &optional count-current | 6947 | @defun next-button pos &optional count-current |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 5cf67ba6473..f31bacaed74 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -2287,7 +2287,7 @@ function) as a generalized variable. @var{setter} can be a symbol in which | |||
| 2287 | case it will be passed to @code{gv-define-simple-setter}, or it can be of the | 2287 | case it will be passed to @code{gv-define-simple-setter}, or it can be of the |
| 2288 | form @code{(lambda (@var{arg}) @var{body})} in which case that function will | 2288 | form @code{(lambda (@var{arg}) @var{body})} in which case that function will |
| 2289 | additionally have access to the macro (or function)'s arguments and it will | 2289 | additionally have access to the macro (or function)'s arguments and it will |
| 2290 | passed to @code{gv-define-setter}. | 2290 | be passed to @code{gv-define-setter}. |
| 2291 | 2291 | ||
| 2292 | @end table | 2292 | @end table |
| 2293 | 2293 | ||
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 92aaf24b851..92684c8993e 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -2616,7 +2616,7 @@ if it is non-@code{nil}; this can be overridden by binding | |||
| 2616 | This variable is non-@code{nil} when Emacs is running in batch mode. | 2616 | This variable is non-@code{nil} when Emacs is running in batch mode. |
| 2617 | @end defvar | 2617 | @end defvar |
| 2618 | 2618 | ||
| 2619 | If Emacs exits due to signalling an error in batch mode, the exit | 2619 | If Emacs exits due to signaling an error in batch mode, the exit |
| 2620 | status of the Emacs command is non-zero: | 2620 | status of the Emacs command is non-zero: |
| 2621 | 2621 | ||
| 2622 | @example | 2622 | @example |
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index ffdf952b081..fe3d48b3ff5 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -4679,7 +4679,7 @@ expanded when the header line is computed. To do this, the | |||
| 4679 | above. @var{specification} is an alist that has elements where the | 4679 | above. @var{specification} is an alist that has elements where the |
| 4680 | @code{car} is a character and the @code{cdr} is the substitution. | 4680 | @code{car} is a character and the @code{cdr} is the substitution. |
| 4681 | 4681 | ||
| 4682 | If @code{ONLY-PRESENT} is @code{nil}, errors will be signalled if a | 4682 | If @code{ONLY-PRESENT} is @code{nil}, errors will be signaled if a |
| 4683 | format character has been used that's not present in | 4683 | format character has been used that's not present in |
| 4684 | @var{specification}. If it's non-@code{nil}, that format | 4684 | @var{specification}. If it's non-@code{nil}, that format |
| 4685 | specification is left verbatim in the result. | 4685 | specification is left verbatim in the result. |
| @@ -5725,7 +5725,7 @@ made within the @code{combine-after-change-calls} body. | |||
| 5725 | @code{after-change-functions} within | 5725 | @code{after-change-functions} within |
| 5726 | the body of a @code{combine-after-change-calls} form. | 5726 | the body of a @code{combine-after-change-calls} form. |
| 5727 | 5727 | ||
| 5728 | @strong{Warning:} if the changes you combine occur in widely scattered | 5728 | @strong{Warning:} If the changes you combine occur in widely scattered |
| 5729 | parts of the buffer, this will still work, but it is not advisable, | 5729 | parts of the buffer, this will still work, but it is not advisable, |
| 5730 | because it may lead to inefficient behavior for some change hook | 5730 | because it may lead to inefficient behavior for some change hook |
| 5731 | functions. | 5731 | functions. |