[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: project--files-in-directory: code formatting
From: |
Stefan Monnier |
Subject: |
Re: project--files-in-directory: code formatting |
Date: |
Wed, 04 Nov 2020 09:30:36 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Woudln't it be cleaner formatted this way?
[...]
> Basically, the "else" of "if files..." on a new line, with the remaining
> parenthesis on the same line as this "else".
>
> What do you think?
Yes, please!
I even added a font-lock rule to highlight such cases in red, but
apparently that rule doesn't catch this particular case (if you replace
the empty string with a symbol, it does catch it, tho).
Stefan
Re: project--files-in-directory: code formatting, Dmitry Gutov, 2020/11/04