aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorŠtěpán Němec2020-03-01 18:50:14 +0100
committerŠtěpán Němec2020-04-18 17:10:02 +0200
commit067b0705986572e42687334c4eaf32988f22f680 (patch)
tree70129d8ec8e109cb64f895e462298adf2c2636e8 /doc
parentf3b62b6c62c41d2e5d15418ea940bce6b11bdf7d (diff)
downloademacs-067b0705986572e42687334c4eaf32988f22f680.tar.gz
emacs-067b0705986572e42687334c4eaf32988f22f680.zip
; Fix some typos and doc issues (bug#40695)
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/fixit.texi30
-rw-r--r--doc/lispref/display.texi4
-rw-r--r--doc/lispref/functions.texi2
-rw-r--r--doc/lispref/os.texi2
-rw-r--r--doc/lispref/text.texi4
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
202tells the transpose command to move the character (or word or 202tells the transpose command to move the character (or word or
203expression or line) before or containing point across several other 203expression or line) before or containing point across several other
204characters (or words or expressions or lines). For example, @kbd{C-u 204characters (or words or expressions or lines). For example, @w{@kbd{C-u
2053 C-t} moves the character before point forward across three other 2053 C-t}} moves the character before point forward across three other
206characters. It would change @samp{f@point{}oobar} into 206characters. 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}
208three times. @kbd{C-u - 4 M-t} moves the word before point backward 208three 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
306the region if one is active, or in the entire buffer otherwise. The 306the region if one is active, or in the entire buffer otherwise. The
307commands @kbd{M-x ispell-buffer} and @kbd{M-x ispell-region} 307commands @w{@kbd{M-x ispell-buffer}} and @w{@kbd{M-x ispell-region}}
308explicitly perform spell-checking on the entire buffer or the region 308explicitly perform spell-checking on the entire buffer or the region
309respectively. To check spelling in an email message you are writing, 309respectively. To check spelling in an email message you are writing,
310use @kbd{M-x ispell-message}; that command checks the whole buffer, 310use @w{@kbd{M-x ispell-message}}; that command checks the whole buffer,
311except for material that is indented or appears to be cited from other 311except for material that is indented or appears to be cited from other
312messages. @xref{Sending Mail}. 312messages. @xref{Sending Mail}.
313 313
@@ -365,8 +365,8 @@ wildcard.
365@item C-g 365@item C-g
366@itemx X 366@itemx X
367Quit interactive spell-checking, leaving point at the word that was 367Quit interactive spell-checking, leaving point at the word that was
368being checked. You can restart checking again afterward with @kbd{C-u 368being checked. You can restart checking again afterward with @w{@kbd{C-u
369M-$}. 369M-$}}.
370 370
371@item x 371@item x
372Quit interactive spell-checking and move point back to where it was 372Quit 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
385spelling correction. Insert the beginning of a word, and then type 385spelling 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
387window manager intercepts @kbd{M-@key{TAB}}, type @kbd{@key{ESC} 387window 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
389character; type that digit or character to choose it. 389character; 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
394to run, waiting for something to do, so that subsequent spell-checking 394to run, waiting for something to do, so that subsequent spell-checking
395commands complete more quickly. If you want to get rid of the 395commands complete more quickly. If you want to get rid of the
396process, use @kbd{M-x ispell-kill-ispell}. This is not usually 396process, use @w{@kbd{M-x ispell-kill-ispell}}. This is not usually
397necessary, since the process uses no processor time except when you do 397necessary, since the process uses no processor time except when you do
398spelling correction. 398spelling correction.
399 399
@@ -406,7 +406,7 @@ the standard dictionary and your personal dictionary. The standard
406dictionary is specified by the variable @code{ispell-local-dictionary} 406dictionary is specified by the variable @code{ispell-local-dictionary}
407or, if that is @code{nil}, by the variable @code{ispell-dictionary}. 407or, if that is @code{nil}, by the variable @code{ispell-dictionary}.
408If both are @code{nil}, the spelling program's default dictionary is 408If both are @code{nil}, the spelling program's default dictionary is
409used. The command @kbd{M-x ispell-change-dictionary} sets the 409used. The command @w{@kbd{M-x ispell-change-dictionary}} sets the
410standard dictionary for the buffer and then restarts the subprocess, 410standard dictionary for the buffer and then restarts the subprocess,
411so that it will use a different standard dictionary. Your personal 411so that it will use a different standard dictionary. Your personal
412dictionary is specified by the variable 412dictionary 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
430of the text you type as you type it. When it finds a word that it 430of the text you type as you type it. When it finds a word that it
431does not recognize, it highlights that word. Type @kbd{M-x 431does not recognize, it highlights that word. Type @w{@kbd{M-x
432flyspell-mode} to toggle Flyspell mode in the current buffer. To 432flyspell-mode}} to toggle Flyspell mode in the current buffer. To
433enable Flyspell mode in all text mode buffers, add 433enable 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
435that, as Flyspell mode needs to check each word across which you move, 435that, 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
445of possible corrections and actions. In addition, @kbd{C-.} or 445of 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
447propose various successive corrections for the word at point, and 447propose 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
449menu of possible corrections. Of course, you can always correct the 449menu of possible corrections. Of course, you can always correct the
450misspelled word by editing it manually in any way you like. 450misspelled 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
454that it only checks words in comments and string constants. This 454that it only checks words in comments and string constants. This
455feature is useful for editing programs. Type @kbd{M-x 455feature is useful for editing programs. Type @w{@kbd{M-x
456flyspell-prog-mode} to enable or disable this mode in the current 456flyspell-prog-mode}} to enable or disable this mode in the current
457buffer. To enable this mode in all programming mode buffers, add 457buffer. 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
6929is displayed. Any button with a non-@code{nil} @code{skip} property 6929is displayed. Any button with a non-@code{nil} @code{skip} property
6930is skipped over. Returns the button found, and signals an error if no 6930is skipped over. Returns the button found, and signals an error if no
6931buttons can be found. If @var{no-error} in non-@code{nil}, return nil 6931buttons can be found. If @var{no-error} in non-@code{nil}, return nil
6932instead of signalling the error. 6932instead 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
6941is displayed. Any button with a non-@code{nil} @code{skip} property 6941is displayed. Any button with a non-@code{nil} @code{skip} property
6942is skipped over. Returns the button found, and signals an error if no 6942is skipped over. Returns the button found, and signals an error if no
6943buttons can be found. If @var{no-error} in non-@code{nil}, return nil 6943buttons can be found. If @var{no-error} in non-@code{nil}, return nil
6944instead of signalling the error. 6944instead 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
2287case it will be passed to @code{gv-define-simple-setter}, or it can be of the 2287case it will be passed to @code{gv-define-simple-setter}, or it can be of the
2288form @code{(lambda (@var{arg}) @var{body})} in which case that function will 2288form @code{(lambda (@var{arg}) @var{body})} in which case that function will
2289additionally have access to the macro (or function)'s arguments and it will 2289additionally have access to the macro (or function)'s arguments and it will
2290passed to @code{gv-define-setter}. 2290be 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
2616This variable is non-@code{nil} when Emacs is running in batch mode. 2616This variable is non-@code{nil} when Emacs is running in batch mode.
2617@end defvar 2617@end defvar
2618 2618
2619If Emacs exits due to signalling an error in batch mode, the exit 2619If Emacs exits due to signaling an error in batch mode, the exit
2620status of the Emacs command is non-zero: 2620status 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
4679above. @var{specification} is an alist that has elements where the 4679above. @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
4682If @code{ONLY-PRESENT} is @code{nil}, errors will be signalled if a 4682If @code{ONLY-PRESENT} is @code{nil}, errors will be signaled if a
4683format character has been used that's not present in 4683format 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
4685specification is left verbatim in the result. 4685specification 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
5726the body of a @code{combine-after-change-calls} form. 5726the 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
5729parts of the buffer, this will still work, but it is not advisable, 5729parts of the buffer, this will still work, but it is not advisable,
5730because it may lead to inefficient behavior for some change hook 5730because it may lead to inefficient behavior for some change hook
5731functions. 5731functions.