summaryrefslogtreecommitdiff
path: root/test/lisp/files-resources/file-mode-prop-line
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-19 18:06:31 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-19 18:06:31 +0200
commite45abc832db7d1a64a0761dcb51565b7c282999a (patch)
tree9672c3aa7c659336e5d91118168a5bc8c5f0bab1 /test/lisp/files-resources/file-mode-prop-line
parent35592141cc8951c91a4bd6cc02f73d1ddd35aca4 (diff)
downloademacs-e45abc832db7d1a64a0761dcb51565b7c282999a.tar.gz
emacs-e45abc832db7d1a64a0761dcb51565b7c282999a.tar.bz2
emacs-e45abc832db7d1a64a0761dcb51565b7c282999a.zip
Fix regression with multiple mode: entries in the prop line
* lisp/files.el (hack-local-variables--find-variables): Use the final mode: line (which is the same as having several mode: bits in the header line.
Diffstat (limited to 'test/lisp/files-resources/file-mode-prop-line')
-rw-r--r--test/lisp/files-resources/file-mode-prop-line1
1 files changed, 1 insertions, 0 deletions
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 -*-