diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-06-03 19:11:42 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-06-03 19:11:42 +0300 |
commit | 9734b5c5b2902d4e036c0a5b8f146c1107518bb0 (patch) | |
tree | 17662891a8baf2f48327ae5a8646285ccd11b706 | |
parent | c153250adb1c4881cd775623028e793abea7b5fa (diff) | |
download | emacs-9734b5c5b2902d4e036c0a5b8f146c1107518bb0.tar.gz |
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)
-rw-r--r-- | doc/emacs/kmacro.texi | 4 | ||||
-rw-r--r-- | doc/emacs/search.texi | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi index 65387ae783c..3710611c763 100644 --- a/doc/emacs/kmacro.texi +++ b/doc/emacs/kmacro.texi @@ -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. diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 9611d341860..004280cc64b 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -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} |