summaryrefslogtreecommitdiff
path: root/doc/lispref/modes.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-11-05 10:49:46 +0200
committerEli Zaretskii <eliz@gnu.org>2022-11-05 10:49:46 +0200
commitd4e8c90b66b4aba66ff1a12a0894a33af91feb0e (patch)
tree12964a026bb7b34612cdcef76c4ce69a0a69a50f /doc/lispref/modes.texi
parent243ee7b244797aae460b9e2a7224f75599f3a9b8 (diff)
downloademacs-d4e8c90b66b4aba66ff1a12a0894a33af91feb0e.tar.gz
; Minor fixes to documentation
* lisp/treesit.el (treesit-ready-p, treesit-inspect-mode) (treesit-range-settings, treesit-range-rules) (treesit--merge-ranges, treesit-update-ranges) (treesit-font-lock-rules, treesit-font-lock-feature-list) (treesit-font-lock-contextual-post-process) (treesit-font-lock-recompute-features): Doc fixes. * lisp/progmodes/js.el (js--fontify-template-string): Doc fix. * doc/lispref/modes.texi (Parser-based Indentation): * doc/lispref/positions.texi (List Motion): * doc/lispref/parsing.texi (Tree-sitter major modes): * doc/lispref/parsing.texi (Multiple Languages): Fix wording and markup.
Diffstat (limited to 'doc/lispref/modes.texi')
-rw-r--r--doc/lispref/modes.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index c1b092247bd..77b6f9a2fb9 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -4841,8 +4841,8 @@ arguments: @var{node}, @var{parent}, and @var{bol}. The argument
position of the first non-whitespace character after the beginning of
the line. The argument @var{node} is the largest (highest-in-tree)
node that starts at that position; and @var{parent} is the parent of
-@var{node}. However, when that position is on a whitespace or inside
-a multi-line string, no node that starts at that position, so
+@var{node}. However, when that position is in a whitespace or inside
+a multi-line string, no node can start at that position, so
@var{node} is @code{nil}. In that case, @var{parent} would be the
smallest node that spans that position.