* files.el (auto-mode-alist): Add entry to .eld files

This commit is contained in:
Stefan Monnier
2022-06-13 08:58:09 -04:00
parent 0fdd37c7fb
commit 86f30c972b
2 changed files with 5 additions and 0 deletions

View File

@@ -294,6 +294,8 @@ startup. Previously, these functions ignored
* Changes in Emacs 29.1
** Files with the '.eld' extension are now opened in 'lisp-data-mode'.
+++
** New command 'find-sibling-file'.
This command jumps to a file considered a "sibling file", which is

View File

@@ -2797,6 +2797,9 @@ since only a single case-insensitive search through the alist is made."
;; .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)
("\\.eld\\'" . lisp-data-mode)
;; FIXME: The lisp-data-mode files below should use the `.eld' extension
;; (or a -*- mode cookie) so we don't need ad-hoc entries here.
("eww-bookmarks\\'" . lisp-data-mode)
("tramp\\'" . lisp-data-mode)
("/archive-contents\\'" . lisp-data-mode)