[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61691: (wrong-type-argument stringp nil) error when indenting some C
From: |
Daniel Martín |
Subject: |
bug#61691: (wrong-type-argument stringp nil) error when indenting some C code in c-ts-mode |
Date: |
Sun, 26 Feb 2023 12:10:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) |
Version: 29.1
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Wed, 22 Feb 2023 00:23:37 +0100
>> From: Daniel Martín via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> Given the following code in c-ts-mode:
>>
>> int
>> foo ()
>> {
>> int c;
>> if (!CHAR_VALID_P (c))
>> /* This is a comment. */
>> c = 'a';
>>
>> return c;
>> }
>>
>> If point is in line "c = 'a'" and you press TAB, a (wrong-type-argument
>> stringp nil) error is thrown.
>
> With today's emacs-29 branch, I cannot reproduce this. Was the
> problem solved meanwhile?
I cannot reproduce the issue anymore in Emacs 29, so I'm closing the bug
report.