mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-09 13:40:50 +00:00

* lisp/files.el (set-auto-mode--dir-local-valid-p): New function. (set-auto-mode--apply-alist): Use it as a stricter test.
5 lines
187 B
EmacsLisp
5 lines
187 B
EmacsLisp
;; This is used by files-tests.el.
|
|
((auto-mode-alist . (("\\.quux\\'" . tcl-mode)
|
|
("\\.zot1\\'" . foobar)
|
|
("\\.zot2\\'" . (lambda ()))
|
|
("\\.zot3\\'" . dired-mode))))
|