emacs-devel
[Top][All Lists]
Advanced

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

Re: .dir-locals.el


From: Stefan Monnier
Subject: Re: .dir-locals.el
Date: Thu, 08 Jan 2009 22:14:48 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Maybe your suggestion to change hack-dir-local-variables so it uses
>> default-directory rather than buffer-file-name is a good one.  It seems
>> like it would be a safe change and would allow the above advice to feel
>> a tiny bit less hackish.

> This will also set the directory-wide file-variable values
> in newly created buffers, for good or bad.

Why?  This code is not expected to be run for new buffers.


        Stefan




reply via email to

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