diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-01 14:44:56 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2020-05-01 15:03:59 +0100 |
commit | 2a8784129daf270d0a20ce3531e488de51de7520 (patch) | |
tree | 7aeacae9a3e1237d6685be513ec0de028ee9efbe /lisp/files.el | |
parent | 9f3f1692767779a243a32d82f20eb8ffa5369920 (diff) | |
download | emacs-2a8784129daf270d0a20ce3531e488de51de7520.tar.gz emacs-2a8784129daf270d0a20ce3531e488de51de7520.tar.bz2 emacs-2a8784129daf270d0a20ce3531e488de51de7520.zip |
; Fix recent additions with lisp-data-mode
* lisp/bookmark.el (bookmark-insert-file-format-version-stamp)
(save-place-alist-to-file): Delimit file-local variables on the -*-
line with semicolons.
* lisp/files.el (auto-mode-alist): Use shy regexp group.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index 56d4679ad7d..c34fe003880 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2657,9 +2657,9 @@ since only a single case-insensitive search through the alist is made." ("\\.ltx\\'" . latex-mode) ("\\.dtx\\'" . doctex-mode) ("\\.org\\'" . org-mode) - ;; .dir-locals.el is not really elisp. Could use the + ;; .dir-locals.el is not really Elisp. Could use the ;; `dir-locals-file' constant if it weren't defined below. - ("\\.dir-locals\\(-2\\)?\\.el\\'" . lisp-data-mode) + ("\\.dir-locals\\(?:-2\\)?\\.el\\'" . lisp-data-mode) ("eww-bookmarks\\'" . lisp-data-mode) ("tramp\\'" . lisp-data-mode) ("places\\'" . lisp-data-mode) |