[Top][All Lists]

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

Re: log-edit-strip-single-file-name

From: Stefan Monnier
Subject: Re: log-edit-strip-single-file-name
Date: Sat, 06 Feb 2010 09:28:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

>> > -    (let ((variables-file (dir-locals-find-file (buffer-file-name)))
>> > +    (let ((variables-file (dir-locals-find-file (or dname 
>> > (buffer-file-name))))
>> Why (or dname (buffer-file-name)) rather than (or buffer-file-name 
>> default-directory)?
> It looked clearer to me.

I think that using something else than default-directory would be
a serious source of surprise for the user.

> Can this patch go in?

Not for 23.2, no.


reply via email to

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