Add .dir-locals.el support for file-less buffers.
commit8117868f0ce67b6db33081f77b6715a6c10e45b8
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 12 Mar 2010 08:04:54 +0000 (12 00:04 -0800)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 12 Mar 2010 08:04:54 +0000 (12 00:04 -0800)
treeaa88ce85bb40558a9d726141b2bf9a3cebccba5e
parent49a62e8aad8eee350511104415062f6b82f51973
Add .dir-locals.el support for file-less buffers.
* files.el (hack-local-variables): Split out code to apply local
variable settings ...
(hack-local-variables-apply): ... here.  New function.
(hack-dir-local-variables): Use the default directory for when the
buffer does not have an associated file.
(hack-dir-local-variables-non-file-buffer): New function.
* diff-mode.el (diff-mode):
* vc-annotate.el (vc-annotate-mode):
* vc-dir.el (vc-dir-mode):
* log-edit.el (log-edit-mode):
* log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
etc/NEWS
lisp/ChangeLog
lisp/diff-mode.el
lisp/files.el
lisp/log-edit.el
lisp/log-view.el
lisp/vc-annotate.el
lisp/vc-dir.el