commit 0c2caa50cc6c958b517de57be98a3e817203f6d1
parent dcbbbf813453fc7f587cff14d3ed1e3336f549a5
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 4 Jun 2024 16:51:11 +0200
docs: correct the description of --bold, as function tags are unaffected
The succinct function descriptions in the help lines are not shown in
reverse video by default, so they are not bolded by -D/--bold either.
Also, mention 'promptcolor' and 'minicolor' where they were missing.
Diffstat:
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/doc/nano.1 b/doc/nano.1
@@ -123,9 +123,10 @@ numbered one every time a file is saved -- when backups are enabled (\fB\-B\fR).
The uniquely numbered files are stored in the specified \fIdirectory\fR.
.TP
.BR \-D ", " \-\-boldtext
-For the interface, use bold instead of reverse video. This will be overridden
-by setting the options \fBtitlecolor\fP, \fBstatuscolor\fP, \fBkeycolor\fP,
-\fBfunctioncolor\fP, \fBnumbercolor\fP, and/or \fBselectedcolor\fP in your
+For the interface, use bold instead of reverse video.
+This can be overridden for specific elements by setting the options
+\fBtitlecolor\fP, \fBstatuscolor\fP, \fBpromptcolor\fP, \fBminicolor\fP,
+\fBkeycolor\fP, \fBnumbercolor\fP, and/or \fBselectedcolor\fP in your
nanorc file. See \fBnanorc\fR(5).
.TP
.BR \-E ", " \-\-tabstospaces
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -427,9 +427,10 @@ The uniquely numbered files are stored in the specified directory.
@item -D
@itemx --boldtext
-For the interface, use bold instead of reverse video. This will be overridden
+For the interface, use bold instead of reverse video.
+This can be overridden for specific elements
by setting the options @code{titlecolor}, @code{statuscolor},
-@code{promptcolor}, @code{minicolor}, @code{keycolor}, @code{functioncolor},
+@code{promptcolor}, @code{minicolor}, @code{keycolor},
@code{numbercolor}, and/or @code{selectedcolor} in your
nanorc file. @xref{@code{set keycolor}} for details.
@@ -917,10 +918,11 @@ with @code{set backup} or @option{--backup} or @option{-B}.
The uniquely numbered files are stored in the specified directory.
@item set boldtext
-Use bold instead of reverse video for the title bar, status bar, key combos,
-function tags, line numbers, and selected text. This is overridden by
-setting the options @code{titlecolor}, @code{statuscolor}, @code{keycolor},
-@code{functioncolor}, @code{numbercolor}, and/or @code{selectedcolor}.
+Use bold instead of reverse video for the title bar, status bar,
+prompt bar, mini bar, key combos, line numbers, and selected text.
+This can be overridden by setting the options @code{titlecolor},
+@code{statuscolor}, @code{promptcolor}, @code{minicolor},
+@code{keycolor}, @code{numbercolor}, and/or @code{selectedcolor}.
@item set bookstyle
When justifying, treat any line that starts with whitespace as the
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -99,11 +99,10 @@ The uniquely numbered files are stored in the specified \fIdirectory\fR.
.TP
.B set boldtext
Use bold instead of reverse video for the title bar, status bar,
-prompt bar, mini bar, key combos, function tags, line numbers,
+prompt bar, mini bar, key combos, line numbers,
and selected text. This can be overridden by setting the options
-\fBtitlecolor\fP, \fBstatuscolor\fP,
-\fBpromptcolor\fP, \fBminicolor\fP, \fBkeycolor\fP, \fBfunctioncolor\fP,
-\fBnumbercolor\fP, and/or \fBselectedcolor\fP.
+\fBtitlecolor\fP, \fBstatuscolor\fP, \fBpromptcolor\fP, \fBminicolor\fP,
+\fBkeycolor\fP, \fBnumbercolor\fP, and/or \fBselectedcolor\fP.
.TP
.B set bookstyle
When justifying, treat any line that starts with whitespace as the