Fix minor issues in the Emacs manual

* doc/emacs/search.texi (Regexp Replace, Regexps):
* doc/emacs/kmacro.texi (Keyboard Macro Query)
(Save Keyboard Macro): Fix inaccuracies and typos.
(Bug#35885)
This commit is contained in:
Eli Zaretskii 2019-06-03 19:11:42 +03:00
parent c153250adb
commit 9734b5c5b2
2 changed files with 4 additions and 5 deletions

View file

@ -391,7 +391,7 @@ macro definition is executed. It is up to you to leave point and the
text in a state such that the rest of the macro will do what you want. text in a state such that the rest of the macro will do what you want.
@end table @end table
@kbd{C-u C-x q}, which is @kbd{C-x q} with a numeric argument, @kbd{C-u C-x q}, which is @kbd{C-x q} with a prefix argument,
performs a completely different function. It enters a recursive edit performs a completely different function. It enters a recursive edit
reading input from the keyboard, both when you type it during the reading input from the keyboard, both when you type it during the
definition of the macro, and when it is executed from the macro. During definition of the macro, and when it is executed from the macro. During
@ -472,7 +472,7 @@ later with @code{load-file} (@pxref{Lisp Libraries}). If the file you
save in is your init file @file{~/.emacs} (@pxref{Init File}) then the save in is your init file @file{~/.emacs} (@pxref{Init File}) then the
macro will be defined each time you run Emacs. macro will be defined each time you run Emacs.
If you give @code{insert-kbd-macro} a numeric argument, it makes If you give @code{insert-kbd-macro} a prefix argument, it makes
additional Lisp code to record the keys (if any) that you have bound additional Lisp code to record the keys (if any) that you have bound
to @var{macroname}, so that the macro will be reassigned the same keys to @var{macroname}, so that the macro will be reassigned the same keys
when you load the file. when you load the file.

View file

@ -828,7 +828,7 @@ Expressions,,, elisp, The Emacs Lisp Reference Manual}, for additional
features used mainly in Lisp programs. features used mainly in Lisp programs.
Regular expressions have a syntax in which a few characters are Regular expressions have a syntax in which a few characters are
special constructs and the rest are @dfn{ordinary}. An ordinary @dfn{special constructs} and the rest are @dfn{ordinary}. An ordinary
character matches that same character and nothing else. The special character matches that same character and nothing else. The special
characters are @samp{$^.*+?[\}. The character @samp{]} is special if characters are @samp{$^.*+?[\}. The character @samp{]} is special if
it ends a character alternative (see below). The character @samp{-} it ends a character alternative (see below). The character @samp{-}
@ -1465,8 +1465,7 @@ multiple digits, and the value of @samp{\@var{d}} is @code{nil} if the
@samp{\#} here too stands for the number of already-completed @samp{\#} here too stands for the number of already-completed
replacements. replacements.
Repeating our example to exchange @samp{x} and @samp{y}, we can thus For example, we can exchange @samp{x} and @samp{y} this way:
do it also this way:
@example @example
M-x replace-regexp @key{RET} \(x\)\|y @key{RET} M-x replace-regexp @key{RET} \(x\)\|y @key{RET}