emacs-devel
[Top][All Lists]
Advanced

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

Re: Add file-locals and dir-locals


From: martin rudalics
Subject: Re: Add file-locals and dir-locals
Date: Sun, 19 Jul 2009 12:38:02 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> But I think currently two operations are enough.

So do I.

> From the user's POV
> there are two commands `add-file-local-variable' and
> `delete-file-local-variable' that rely on the internal function
> `modify-file-local-variable'.  The user might want either add a new
> variable instead of all its old settings or delete it.

I don't quite catch the idea behind

                  (and (search-backward "Local Variables:" nil t)
                       (search-forward "Local Variables:" nil t)))

Do you search the entire buffer here?

Also I didn't find a functionality to remove the headers and trailers as
soon as all settings have been removed.

martin




reply via email to

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