commit 9dd6407bea15f3ceb6b4f2cdca0c3b492b4c0cb6
parent 670dd9bbe00e8b419573a570fbaed90946bd5675
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 17 Dec 2018 16:05:35 +0100
docs: correct the descriptions of 'speller' and 'linter' functions
Since the last release, the linter function is bound separately and
no longer masks or overrides the speller function.
Diffstat:
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -982,7 +982,6 @@ on the system and will be silently ignored otherwise.)
@item linter @var{program} [@var{arg} @dots{}]
Use the given @var{program} to do a syntax check on the current buffer.
-(This overrides the speller function.)
@item comment "@var{string}"
Use the given string for commenting and uncommenting lines.
@@ -1177,8 +1176,11 @@ Shows the current cursor position: the line, column, and character positions.
Counts the number of words, lines and characters in the current buffer.
@item speller
-Invokes a spell-checking program (or linting program,
-if the active syntax defines such a thing).
+Invokes a spell-checking program, either the default one, or the one
+defined by @option{--speller} or @code{set speller}.
+
+@item linter
+Invokes a syntax-checking program (if the active syntax defines one).
@item justify
Justifies the current paragraph. A paragraph is a group of contiguous lines
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -343,7 +343,6 @@ system and will be silently ignored otherwise.)
.TP
.BI linter " program " \fR[ "arg " \fR...]
Use the given \fIprogram\fR to run a syntax check on the current buffer.
-(This overrides the speller function.)
.TP
.BI "comment """ string """
Use the given \fIstring\fR for commenting and uncommenting lines.
@@ -534,11 +533,11 @@ Shows the current cursor position: the line, column, and character positions.
Counts the number of words, lines and characters in the current buffer.
.TP
.B speller
-Invokes a spell-checking program (or linting program,
-if the active syntax defines such a thing).
+Invokes a spell-checking program, either the default one, or the one
+defined by \fB\-\-speller\fR or \fBset speller\fR.
.TP
.B linter
-A synonym of \fBspeller\fR (for when the speller has not been configured).
+Invokes a syntax-checking program (if the active syntax defines one).
.TP
.B justify
Justifies the current paragraph. A paragraph is a group of contiguous lines