[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: log-edit-strip-single-file-name
From: |
Dan Nicolaescu |
Subject: |
Re: log-edit-strip-single-file-name |
Date: |
Fri, 5 Feb 2010 20:26:22 -0800 (PST) |
Stefan Monnier <address@hidden> writes:
> > (the code that sets the local variables in
> > hack-dir-local-variables-non-file-buffer should be put in a function
> > that is also called from hack-local-variables).
>
> Yes, that would make sense.
>
> > - (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.
Can this patch go in?