From 657947dc7cf01a13a4fa260691a6fa0147107950 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 20 Nov 2022 10:30:38 +0200 Subject: ; Improve recently-modified documentation * lisp/progmodes/python.el (python-base-mode) (python--treesit-fontify-string): * lisp/textmodes/css-mode.el (css-base-mode): * lisp/treesit.el (treesit-ready-p, treesit-comment-end) (treesit-simple-indent-presets): Fix typos and wording in doc strings. * doc/lispref/parsing.texi (Tree-sitter major modes): * doc/lispref/modes.texi (Parser-based Indentation): Fix wording and add cross-references. --- lisp/progmodes/python.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp/progmodes/python.el') diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d16aeaf0133..2f967ebab24 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1016,7 +1016,7 @@ It makes underscores and dots word constituent chars.") "Fontify string. NODE is the string node. Do not fontify the initial f for f-strings. OVERRIDE is the override flag described in -`treesit-font-lock-rules'. START and END marks the region to be +`treesit-font-lock-rules'. START and END mark the region to be fontified." (let* ((string-beg (treesit-node-start node)) (string-end (treesit-node-end node)) @@ -6482,8 +6482,8 @@ Add import for undefined name `%s' (empty to skip): " (define-derived-mode python-base-mode prog-mode "Python" "Generic major mode for editing Python files. -This is a generic major mode intended to be inherited by a -concrete implementations. Currently there two concrete +This is a generic major mode intended to be inherited by +concrete implementations. Currently there are two concrete implementations: `python-mode' and `python-ts-mode'." (setq-local tab-width 8) (setq-local indent-tabs-mode nil) -- cgit v1.2.1