emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 8c044bd9726: ; Fix recent changes in documentation


From: Eli Zaretskii
Subject: emacs-30 8c044bd9726: ; Fix recent changes in documentation
Date: Sun, 1 Sep 2024 13:57:42 -0400 (EDT)

branch: emacs-30
commit 8c044bd97266b42973abb3343eeb4ea48d0949a0
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix recent changes in documentation
    
    * doc/lispref/positions.texi (List Motion): Fix indexing.
    * doc/emacs/mini.texi (Completion Options): Fix wording.
---
 doc/emacs/mini.texi        | 12 ++++++------
 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.
 @vindex completion-auto-wrap
   When the window showing the completions is selected, either because
 you customized @code{completion-auto-select} or because you switched to
-it by typing @kbd{C-x o}, the @kbd{@key{UP}} (@code{previous-line-completion})
-and @kbd{@key{DOWN}} (@code{next-line-completion}) arrow keys
-move by lines between completion candidates; with a prefix numeric
-argument, they move that many lines.  If @code{completion-auto-wrap} is
-non-@code{nil}, these commands will wrap at bottom and top of the
-candidate list.
+it by typing @kbd{C-x o}, the @kbd{@key{UP}} and @kbd{@key{DOWN}} arrow
+keys (@code{previous-line-completion} and @code{next-line-completion},
+respectively) move by lines between completion candidates; with a prefix
+numeric argument, they move that many lines.  If
+@code{completion-auto-wrap} is non-@code{nil}, these commands will wrap
+at bottom and top of the candidate list.
 
 @vindex completion-cycle-threshold
   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.
 ---------- Buffer: foo ----------
 @end group
 @end example
+
+@vindex forward-sexp-function
+@code{forward-sexp} calls the function that is the value of the variable
+@code{forward-sexp-function}, if that is non-@code{nil}, to do the
+actual work, passing it the same arguments as those with which the
+command was called.  Major modes can define their own functions for
+moving over balanced expressions as appropriate for the mode, and set
+this variable to that function.
 @end deffn
 
 @deffn Command backward-sexp &optional arg
@@ -894,7 +902,6 @@ Sentences,,, emacs, The extensible self-documenting text 
editor}).
 @findex treesit-forward-sexp
 @findex forward-sexp@r{, and tree-sitter}
 @findex backward-sexp@r{, and tree-sitter}
-@vindex forward-sexp-function
 If Emacs is compiled with tree-sitter, it can use the tree-sitter
 parser information to move across syntax constructs.  Since what
 exactly is considered a sexp varies between languages, a major mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]