docs: fix "availabilty" typo in the manual and the nanorc manpage

This commit is contained in:
Jordi Mallach 2023-01-18 15:58:34 +01:00 committed by Benno Schulenberg
parent 549e37d218
commit d19915ea44
2 changed files with 2 additions and 2 deletions

View File

@ -1365,7 +1365,7 @@ Unbinds @code{key} from @code{menu}
Note that @code{bind key "@{function@}" menu} is equivalent to Note that @code{bind key "@{function@}" menu} is equivalent to
@code{bind key function menu}, except that for the latter form @code{bind key function menu}, except that for the latter form
@command{nano} will check the availabilty of the @code{function} @command{nano} will check the availability of the @code{function}
in the given @code{menu} at startup time (and report an error if in the given @code{menu} at startup time (and report an error if
it does not exist there), whereas for the first form @command{nano} it does not exist there), whereas for the first form @command{nano}
will check at execution time that the @code{function} exists but not will check at execution time that the @code{function} exists but not

View File

@ -570,7 +570,7 @@ menus where the key exists when \fBall\fP is used).
.sp .sp
Note that \fBbind \fIkey\fR \fB"{\fIfunction\fB}"\fR \fImenu\fR is equivalent Note that \fBbind \fIkey\fR \fB"{\fIfunction\fB}"\fR \fImenu\fR is equivalent
to \fBbind \fIkey\fR \fIfunction\fR \fImenu\fR, except that for the latter form to \fBbind \fIkey\fR \fIfunction\fR \fImenu\fR, except that for the latter form
\fBnano\fR will check the availabilty of the \fIfunction\fR in the given \fImenu\fR \fBnano\fR will check the availability of the \fIfunction\fR in the given \fImenu\fR
at startup time (and report an error if it does not exist there), whereas for the at startup time (and report an error if it does not exist there), whereas for the
first form \fBnano\fR will check at execution time that the \fIfunction\fR exists first form \fBnano\fR will check at execution time that the \fIfunction\fR exists
but not whether it makes any sense in the current menu. The user has to take care but not whether it makes any sense in the current menu. The user has to take care