changeset 20325:fea279940ce8

(auto-mode-alist): Add more extensions for perl-mode. (interpreter-mode-alist): Add miniperl.
author Karl Heuer <kwzh@gnu.org>
date Sun, 23 Nov 1997 02:13:26 +0000
parents 2365fc61875d
children 4b604d468d05
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Sun Nov 23 02:12:23 1997 +0000
+++ b/lisp/files.el	Sun Nov 23 02:13:26 1997 +0000
@@ -1118,8 +1118,7 @@
     ("\\.p\\'" . pascal-mode)
     ("\\.pas\\'" . pascal-mode)
     ("\\.ad[abs]\\'" . ada-mode)
-    ("\\.pl\\'" . perl-mode)
-    ("\\.pm\\'" . perl-mode)
+    ("\\.\\([pP][Llm]\\|al\\)\\'" . perl-mode)
     ("\\.s?html?\\'" . html-mode)
     ("\\.cc\\'" . c++-mode)
     ("\\.hh\\'" . c++-mode)
@@ -1219,6 +1218,7 @@
 (defvar interpreter-mode-alist
   '(("perl" . perl-mode)
     ("perl5" . perl-mode)
+    ("miniperl" . perl-mode)
     ("wish" . tcl-mode)
     ("wishx" . tcl-mode)
     ("tcl" . tcl-mode)