[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 6 Feb 2010 11:18:05 -0800 (PST)
Stefan Monnier <address@hidden> writes:
> >> > - (let ((variables-file (dir-locals-find-file (buffer-file-name)))
> >> > + (let ((variables-file (dir-locals-find-file (or dname
> >> Why (or dname (buffer-file-name)) rather than (or buffer-file-name
> > It looked clearer to me.
> I think that using something else than default-directory would be
> a serious source of surprise for the user.
That would not happen, the default-directory is passed to
hack-local-directory-variable as an optional argument.
But if you prefer to use default-directory instead of passing it as an
argument, I'll do that.