[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: |
Eli Zaretskii |
Subject: |
bug#61691: (wrong-type-argument stringp nil) error when indenting some C code in c-ts-mode |
Date: |
Sun, 26 Feb 2023 10:19:12 +0200 |
> 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?