emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/add-lisp-data-mode da59c5e 2/2: * lisp/files.el (auto-mode-alist


From: João Távora
Subject: scratch/add-lisp-data-mode da59c5e 2/2: * lisp/files.el (auto-mode-alist): Add more reasonably lisp-data files
Date: Sat, 18 Apr 2020 18:22:18 -0400 (EDT)

branch: scratch/add-lisp-data-mode
commit da59c5e579f08297a873d453ae42b168cce021b2
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    * lisp/files.el (auto-mode-alist): Add more reasonably lisp-data files
---
 lisp/files.el | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/lisp/files.el b/lisp/files.el
index f2f3eee..56d4679 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2657,9 +2657,13 @@ 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.  Can't use the
-     ;; `dir-locals-file' constant since that is defined below.
-     (".dir-locals\\(-2\\)?.el" . lisp-data-mode)
+     ;; .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)
+     ("eww-bookmarks\\'" . lisp-data-mode)
+     ("tramp\\'" . lisp-data-mode)
+     ("places\\'" . lisp-data-mode)
+     ("\\.emacs-places\\'" . lisp-data-mode)
      ("\\.el\\'" . emacs-lisp-mode)
      ("Project\\.ede\\'" . emacs-lisp-mode)
      ("\\.\\(scm\\|stk\\|ss\\|sch\\)\\'" . scheme-mode)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]