annotate .dir-locals.el @ 107374:dc9565b08f10

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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 12 Mar 2010 00:04:54 -0800
parents 55134161b319
children 340849d761a5 c781fc4de505
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
101014
49524a62e7d6 Don't set indent-tabs-mode.
Glenn Morris <rgm@gnu.org>
parents: 100718
diff changeset
1 ((nil . ((tab-width . 8)
100718
0a3d5993b567 Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100687
diff changeset
2 (fill-column . 70)))
100672
38e7317321ea * make-dist (tempdir): Distribute .dir-locals.el.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
diff changeset
3 (c-mode . ((c-file-style . "GNU")))
100718
0a3d5993b567 Remove non-working entry for pmail.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 100687
diff changeset
4 (change-log-mode . ((add-log-time-zone-rule . t)
101158
4a6ff510dcf9 (change-log-mode): Add bug-reference-url-format and bug-reference-mode.
Juri Linkov <juri@jurta.org>
parents: 101014
diff changeset
5 (fill-column . 74)
106607
55134161b319 (bug-reference-url-format): Change to debbugs.gnu.org.
Glenn Morris <rgm@gnu.org>
parents: 105015
diff changeset
6 (bug-reference-url-format . "http://debbugs.gnu.org/%s")
105015
241af6b11bb4 (change-log-mode): Restore bug-reference-mode.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 101187
diff changeset
7 (mode . bug-reference))))
100687
245c01516a02 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 100672
diff changeset
8
245c01516a02 Changes from arch/CVS synchronization
Miles Bader <miles@gnu.org>
parents: 100672
diff changeset
9 ;; arch-tag: fb93c160-e9fe-4184-aad1-e4f5daa11cbd