diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-25 16:15:16 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-25 16:15:16 -0400 |
commit | 650c20f1ca4e07591a727e1cfcc74b3363d15985 (patch) | |
tree | 85d11f6437cde22f410c25e0e5f71a3131ebd07d /test/lisp/files-resources | |
parent | 8869332684c2302b5ba1ead4568bbc7ba1c0183e (diff) | |
parent | 4b85ae6a24380fb67a3315eaec9233f17a872473 (diff) | |
download | emacs-650c20f1ca4e07591a727e1cfcc74b3363d15985.tar.gz emacs-650c20f1ca4e07591a727e1cfcc74b3363d15985.tar.bz2 emacs-650c20f1ca4e07591a727e1cfcc74b3363d15985.zip |
Merge 'master' into noverlay
Diffstat (limited to 'test/lisp/files-resources')
-rw-r--r-- | test/lisp/files-resources/.dir-locals.el | 5 | ||||
-rw-r--r-- | test/lisp/files-resources/auto-test.zot1 | 1 | ||||
-rw-r--r-- | test/lisp/files-resources/auto-test.zot2 | 1 | ||||
-rw-r--r-- | test/lisp/files-resources/auto-test.zot3 | 1 | ||||
-rw-r--r-- | test/lisp/files-resources/compile-utf8.el | 12 | ||||
-rw-r--r-- | test/lisp/files-resources/file-mode | 3 | ||||
-rw-r--r-- | test/lisp/files-resources/file-mode-multiple | 5 | ||||
-rw-r--r-- | test/lisp/files-resources/file-mode-prop-line | 1 | ||||
-rw-r--r-- | test/lisp/files-resources/files-bug18141.el.gz | bin | 0 -> 77 bytes | |||
-rw-r--r-- | test/lisp/files-resources/whatever.quux | 2 |
10 files changed, 31 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..84393aa54d5 --- /dev/null +++ b/test/lisp/files-resources/.dir-locals.el @@ -0,0 +1,5 @@ +;; This is used by files-tests.el. +((auto-mode-alist . (("\\.quux\\'" . tcl-mode) + ("\\.zot1\\'" . foobar) + ("\\.zot2\\'" . (lambda ())) + ("\\.zot3\\'" . dired-mode)))) diff --git a/test/lisp/files-resources/auto-test.zot1 b/test/lisp/files-resources/auto-test.zot1 new file mode 100644 index 00000000000..80acfcc9f7a --- /dev/null +++ b/test/lisp/files-resources/auto-test.zot1 @@ -0,0 +1 @@ +zot1 diff --git a/test/lisp/files-resources/auto-test.zot2 b/test/lisp/files-resources/auto-test.zot2 new file mode 100644 index 00000000000..975fc765513 --- /dev/null +++ b/test/lisp/files-resources/auto-test.zot2 @@ -0,0 +1 @@ +zot2 diff --git a/test/lisp/files-resources/auto-test.zot3 b/test/lisp/files-resources/auto-test.zot3 new file mode 100644 index 00000000000..faa07151606 --- /dev/null +++ b/test/lisp/files-resources/auto-test.zot3 @@ -0,0 +1 @@ +zot3 diff --git a/test/lisp/files-resources/compile-utf8.el b/test/lisp/files-resources/compile-utf8.el new file mode 100644 index 00000000000..1f804dcf8dc --- /dev/null +++ b/test/lisp/files-resources/compile-utf8.el @@ -0,0 +1,12 @@ +;; -*- lexical-binding: t; -*- +(defun zot () + "Yes." + nil) + +(defun foo () + "Yés." + nil) + +(defun bar () + "Nó." + nil) diff --git a/test/lisp/files-resources/file-mode b/test/lisp/files-resources/file-mode new file mode 100644 index 00000000000..92ac4c30ef5 --- /dev/null +++ b/test/lisp/files-resources/file-mode @@ -0,0 +1,3 @@ +Local variables: +mode: text +end: diff --git a/test/lisp/files-resources/file-mode-multiple b/test/lisp/files-resources/file-mode-multiple new file mode 100644 index 00000000000..ac051ccbcbd --- /dev/null +++ b/test/lisp/files-resources/file-mode-multiple @@ -0,0 +1,5 @@ +Local variables: +mode: text +mode: test-mode-undef +mode: outline +end: diff --git a/test/lisp/files-resources/file-mode-prop-line b/test/lisp/files-resources/file-mode-prop-line new file mode 100644 index 00000000000..e0e7ad24d71 --- /dev/null +++ b/test/lisp/files-resources/file-mode-prop-line @@ -0,0 +1 @@ +-*- mode: notexist; mode: text -*- diff --git a/test/lisp/files-resources/files-bug18141.el.gz b/test/lisp/files-resources/files-bug18141.el.gz Binary files differnew file mode 100644 index 00000000000..53d463e85b5 --- /dev/null +++ b/test/lisp/files-resources/files-bug18141.el.gz 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. |