diff options
| author | Eli Zaretskii | 2024-09-01 20:57:03 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-09-01 20:57:03 +0300 |
| commit | 8c044bd97266b42973abb3343eeb4ea48d0949a0 (patch) | |
| tree | 83e2046bb480cef331976ee75aacd00713dc143c | |
| parent | e0d8879bcd58c9eb5001cdc5294c126f742db63c (diff) | |
| download | emacs-8c044bd97266b42973abb3343eeb4ea48d0949a0.tar.gz emacs-8c044bd97266b42973abb3343eeb4ea48d0949a0.zip | |
; Fix recent changes in documentation
* doc/lispref/positions.texi (List Motion): Fix indexing.
* doc/emacs/mini.texi (Completion Options): Fix wording.
| -rw-r--r-- | doc/emacs/mini.texi | 12 | ||||
| -rw-r--r-- | doc/lispref/positions.texi | 9 |
2 files changed, 14 insertions, 7 deletions
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index 862cf9bdd79..a6d2a17ed50 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -699,12 +699,12 @@ completions list buffer, and the second one will switch to it. | |||
| 699 | @vindex completion-auto-wrap | 699 | @vindex completion-auto-wrap |
| 700 | When the window showing the completions is selected, either because | 700 | When the window showing the completions is selected, either because |
| 701 | you customized @code{completion-auto-select} or because you switched to | 701 | you customized @code{completion-auto-select} or because you switched to |
| 702 | it by typing @kbd{C-x o}, the @kbd{@key{UP}} (@code{previous-line-completion}) | 702 | it by typing @kbd{C-x o}, the @kbd{@key{UP}} and @kbd{@key{DOWN}} arrow |
| 703 | and @kbd{@key{DOWN}} (@code{next-line-completion}) arrow keys | 703 | keys (@code{previous-line-completion} and @code{next-line-completion}, |
| 704 | move by lines between completion candidates; with a prefix numeric | 704 | respectively) move by lines between completion candidates; with a prefix |
| 705 | argument, they move that many lines. If @code{completion-auto-wrap} is | 705 | numeric argument, they move that many lines. If |
| 706 | non-@code{nil}, these commands will wrap at bottom and top of the | 706 | @code{completion-auto-wrap} is non-@code{nil}, these commands will wrap |
| 707 | candidate list. | 707 | at bottom and top of the candidate list. |
| 708 | 708 | ||
| 709 | @vindex completion-cycle-threshold | 709 | @vindex completion-cycle-threshold |
| 710 | If @code{completion-cycle-threshold} is non-@code{nil}, completion | 710 | If @code{completion-cycle-threshold} is non-@code{nil}, completion |
diff --git a/doc/lispref/positions.texi b/doc/lispref/positions.texi index 93fba8b8ac0..d813fc6b20e 100644 --- a/doc/lispref/positions.texi +++ b/doc/lispref/positions.texi | |||
| @@ -788,6 +788,14 @@ other kinds, such as words and string constants. | |||
| 788 | ---------- Buffer: foo ---------- | 788 | ---------- Buffer: foo ---------- |
| 789 | @end group | 789 | @end group |
| 790 | @end example | 790 | @end example |
| 791 | |||
| 792 | @vindex forward-sexp-function | ||
| 793 | @code{forward-sexp} calls the function that is the value of the variable | ||
| 794 | @code{forward-sexp-function}, if that is non-@code{nil}, to do the | ||
| 795 | actual work, passing it the same arguments as those with which the | ||
| 796 | command was called. Major modes can define their own functions for | ||
| 797 | moving over balanced expressions as appropriate for the mode, and set | ||
| 798 | this variable to that function. | ||
| 791 | @end deffn | 799 | @end deffn |
| 792 | 800 | ||
| 793 | @deffn Command backward-sexp &optional arg | 801 | @deffn Command backward-sexp &optional arg |
| @@ -894,7 +902,6 @@ Sentences,,, emacs, The extensible self-documenting text editor}). | |||
| 894 | @findex treesit-forward-sexp | 902 | @findex treesit-forward-sexp |
| 895 | @findex forward-sexp@r{, and tree-sitter} | 903 | @findex forward-sexp@r{, and tree-sitter} |
| 896 | @findex backward-sexp@r{, and tree-sitter} | 904 | @findex backward-sexp@r{, and tree-sitter} |
| 897 | @vindex forward-sexp-function | ||
| 898 | If Emacs is compiled with tree-sitter, it can use the tree-sitter | 905 | If Emacs is compiled with tree-sitter, it can use the tree-sitter |
| 899 | parser information to move across syntax constructs. Since what | 906 | parser information to move across syntax constructs. Since what |
| 900 | exactly is considered a sexp varies between languages, a major mode | 907 | exactly is considered a sexp varies between languages, a major mode |