|
From: | Stefan Monnier |
Subject: | Re: log-edit-strip-single-file-name |
Date: | Thu, 04 Feb 2010 10:40:31 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
> (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)? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |