[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44858: [PATCH] Make byte-compiler warn about wide docstrings
From: |
Stefan Kangas |
Subject: |
bug#44858: [PATCH] Make byte-compiler warn about wide docstrings |
Date: |
Fri, 11 Dec 2020 14:03:08 -0600 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Stefan Kangas <stefan@marxist.se>
>> Date: Thu, 10 Dec 2020 15:53:13 -0600
>> Cc: 44858@debbugs.gnu.org
>>
>> +(defun internal--fill-string (str)
>> + "Fill string STR to `fill-column'.
>> +This is intended for very simple filling while bootstrapping
>> +Emacs itself, and does not support all the customization options
>> +of fill.el (for example `fill-region')."
>> + (if (< (length str) fill-column) <<<<<<<<<<<<<<<<<<<<<<<<<
>
> Can we use string-width here instead of length? If this will work
> during bootstrap, it is preferable, I think.
Yes, it seems to work fine. Now changed.
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Tomas Nordin, 2020/12/03
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/06
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/10
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/11
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/11
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Basil L. Contovounesios, 2020/12/28
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Lars Ingebrigtsen, 2020/12/28
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Lars Ingebrigtsen, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/19
bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/11