1
1

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.
Этот коммит содержится в:
Benno Schulenberg 2018-12-17 16:05:35 +01:00
родитель 670dd9bbe0
Коммит 9dd6407bea
2 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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