[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File local-variables broken?
From: |
Juanma Barranquero |
Subject: |
Re: File local-variables broken? |
Date: |
Tue, 29 Apr 2008 15:25:00 +0200 |
On Tue, Apr 29, 2008 at 1:50 PM, Neal Becker <address@hidden> wrote:
>> This is the offending code:
>> // Local Variables: **
>> // mode:c **
>> // c-file-style:linux **
>> // c-basic-offset:4 **
>> // End: **
I see the problem. `c-file-style' complains (correctly) because
`linux' is not a string. Using
// c-file-style:"linux" **
works as expected. Now, the problem can be trivially fixed either by
making `c-set-style' to accept also a symbol as first arg (and take
its name), or forcing `c-postprocess-file-styles' to pass a string to
`c-file-style'. Whether that would be a user convenience or an ugly
hack is for the CC maintainers to decide :-)
Juanma