[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57499: Documentation bug in the docstring of set-face-attribute?
From: |
Eli Zaretskii |
Subject: |
bug#57499: Documentation bug in the docstring of set-face-attribute? |
Date: |
Sat, 03 Sep 2022 09:00:41 +0300 |
> Date: Fri, 02 Sep 2022 20:48:06 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: 57499-done@debbugs.gnu.org
>
> A last suggestion: I think the docstring of set-face-attribute would be
> even clearer with
>
> call this function with FRAME set to t or nil, and the ATTRIBUTE's value
> set to `unspecified'.
>
> or with
>
> call this function with FRAME set to t (or nil), and the ATTRIBUTE's value
> set to `unspecified'.
That would miss the point which that part of the doc string is trying
to make: that using 'unspecified' with FRAME = t does special things.
Explaining that is the whole point of that part of the doc string.
> Just as a reminder that nil "implies" t.
Such a reminder isn't needed because just a few sentences above the
doc string said that nil implies t as well.
- bug#57499: Documentation bug in the docstring of set-face-attribute?, (continued)
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Eli Zaretskii, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Eli Zaretskii, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Eli Zaretskii, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Eli Zaretskii, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/01
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Eli Zaretskii, 2022/09/02
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/02
- bug#57499: Documentation bug in the docstring of set-face-attribute?,
Eli Zaretskii <=
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Gregory Heytings, 2022/09/03
- bug#57499: Documentation bug in the docstring of set-face-attribute?, Po Lu, 2022/09/02