[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 9aa18659263: Fix c-ts-common-comment-indent-new-line (bug#739
From: |
Yuan Fu |
Subject: |
Re: master 9aa18659263: Fix c-ts-common-comment-indent-new-line (bug#73900) |
Date: |
Wed, 30 Oct 2024 22:37:28 -0700 |
> On Oct 29, 2024, at 5:32 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> branch: master
>> commit 9aa186592634212fcdb2dbafdfd0c52a2475ba96
>> Author: Yuan Fu <casouri@gmail.com>
>> Commit: Yuan Fu <casouri@gmail.com>
>>
>> Fix c-ts-common-comment-indent-new-line (bug#73900)
>>
>> * lisp/progmodes/c-ts-common.el:
>> (c-ts-common-comment-indent-new-line): Delete trailing
>> whitespace before inserting newline. The insert-line-break
>> function is the same as in c-indent-new-comment-line.
>
> This triggers the following byte-compilation warning:
>
> In c-ts-common-comment-indent-new-line:
> progmodes/c-ts-common.el:339:27: Warning: reference to free variable
> `allow-auto-fill'
>
> I'm guessing that in c-ts-mode case allow-auto-fill is always nil.
Thank Eli, I’ve fixed it now. Sorry for the hiccup.
Yuan