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:
parent
c153250adb
commit
9734b5c5b2
2 changed files with 4 additions and 5 deletions
|
@ -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.
|
||||
@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
|
||||
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
|
||||
|
@ -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
|
||||
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
|
||||
to @var{macroname}, so that the macro will be reassigned the same keys
|
||||
when you load the file.
|
||||
|
|
|
@ -828,7 +828,7 @@ Expressions,,, elisp, The Emacs Lisp Reference Manual}, for additional
|
|||
features used mainly in Lisp programs.
|
||||
|
||||
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
|
||||
characters are @samp{$^.*+?[\}. The character @samp{]} is special if
|
||||
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
|
||||
replacements.
|
||||
|
||||
Repeating our example to exchange @samp{x} and @samp{y}, we can thus
|
||||
do it also this way:
|
||||
For example, we can exchange @samp{x} and @samp{y} this way:
|
||||
|
||||
@example
|
||||
M-x replace-regexp @key{RET} \(x\)\|y @key{RET}
|
||||
|
|
Loading…
Add table
Reference in a new issue