summaryrefslogtreecommitdiff
path: root/test/lisp/files-resources
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/files-resources')
-rw-r--r--test/lisp/files-resources/.dir-locals.el2
-rw-r--r--test/lisp/files-resources/whatever.quux2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/files-resources/.dir-locals.el b/test/lisp/files-resources/.dir-locals.el
new file mode 100644
index 00000000000..84997b8a0c0
--- /dev/null
+++ b/test/lisp/files-resources/.dir-locals.el
@@ -0,0 +1,2 @@
+;; This is used by files-tests.el.
+((auto-mode-alist . (("\\.quux\\'" . tcl-mode))))
diff --git a/test/lisp/files-resources/whatever.quux b/test/lisp/files-resources/whatever.quux
new file mode 100644
index 00000000000..595583b911e
--- /dev/null
+++ b/test/lisp/files-resources/whatever.quux
@@ -0,0 +1,2 @@
+# Used by files-test.el.
+# Due to .dir-locals.el this should end up in Tcl mode.