help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add-file-local-variable-prop-line


From: Stefan Monnier
Subject: Re: add-file-local-variable-prop-line
Date: Wed, 08 Dec 2010 15:34:48 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> format.  I assumed that there would be a function for this, and there
> is: add-file-local-variable-prop-line will do what I want, but doesn't
> seem to support the simpler syntax.  I can make the simpler syntax
> work, but I wonder if there is some policy change or feature that
> really prefers the more explicit syntax.

Both work, and it was probably easier to use the longer syntax since
that function is also supposed to work when there are several properties
set (in which case the simpler syntax can't be used).
We could probably improve that function to use the simpler syntax when
possible, but I'd have to see the patch to judge whether it's worth
the trouble.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]