More dir-locals fixes for files.el.
authorGlenn Morris <rgm@gnu.org>
Thu, 24 Feb 2011 08:02:45 +0000 (00:02 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 24 Feb 2011 08:02:45 +0000 (00:02 -0800)
commit07915ed93c1a21776f7371e615b43d0d79eaebfd
tree4418dab401b93bc491fb70b899931c1454751f04
parentebe401f69718e17144fc7f7a8ab36f7c12452f2a
More dir-locals fixes for files.el.

* lisp/files.el (hack-local-variables-confirm, hack-local-variables-filter):
Doc fix (say _which_ directory `dir-name' is).
(hack-dir-local-variables): Fix setting of `dir-name'.
Previous value seems clearly wrong.  Eg put a risky variable in a
dir-locals file, visit a file in a subdirectory, see which directory
it says the risky variables come from.  It should be the one with the
associated directory variables, not the one containing the visited file.
lisp/ChangeLog
lisp/files.el