From ebff6b7d68abc3a4a369340cd5b87457df1f1391 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 23 Nov 1997 02:13:26 +0000 Subject: [PATCH] (auto-mode-alist): Add more extensions for perl-mode. (interpreter-mode-alist): Add miniperl. --- lisp/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/files.el b/lisp/files.el index b63b6c49b34..2d39fd91058 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1118,8 +1118,7 @@ run `normal-mode' explicitly." ("\\.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 @@ REGEXP and search the list again for another match.") (defvar interpreter-mode-alist '(("perl" . perl-mode) ("perl5" . perl-mode) + ("miniperl" . perl-mode) ("wish" . tcl-mode) ("wishx" . tcl-mode) ("tcl" . tcl-mode) -- 2.39.2