[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 86f30c972b: * files.el (auto-mode-alist): Add entry to `.eld` fil
From: |
Stefan Monnier |
Subject: |
master 86f30c972b: * files.el (auto-mode-alist): Add entry to `.eld` files |
Date: |
Mon, 13 Jun 2022 08:58:17 -0400 (EDT) |
branch: master
commit 86f30c972bb421db1b8f83951ecfc15ad607fb03
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* files.el (auto-mode-alist): Add entry to `.eld` files
---
etc/NEWS | 2 ++
lisp/files.el | 3 +++
2 files changed, 5 insertions(+)
diff --git a/etc/NEWS b/etc/NEWS
index 5df7713aea..9440baee6a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
diff --git a/lisp/files.el b/lisp/files.el
index eb1b90fc29..22fccb151c 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 86f30c972b: * files.el (auto-mode-alist): Add entry to `.eld` files,
Stefan Monnier <=