view .dir-locals.el @ 108154:cede0252a395

Make it possible to locally disable a globally enabled mode. * simple.el (fundamental-mode): Run fundamental-mode-hook. * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode rather than kill-all-local-variables so it runs fundamental-mode-hook. * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so that subsequent hooks get a chance to disable it.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 28 Apr 2010 11:18:37 -0400
parents 340849d761a5
children 2c36d4f54456
line wrap: on
line source

((nil . ((tab-width . 8)
         (fill-column . 70)))
 (c-mode . ((c-file-style . "GNU")))
 (change-log-mode . ((add-log-time-zone-rule . t)
		     (fill-column . 74)
		     (bug-reference-url-format . "http://debbugs.gnu.org/%s")
		     (mode . bug-reference)))
 (diff-mode . ((mode . whitespace))))

;; arch-tag: fb93c160-e9fe-4184-aad1-e4f5daa11cbd