From: Karl Heuer Date: Sun, 23 Nov 1997 02:13:26 +0000 (+0000) Subject: (auto-mode-alist): Add more extensions for perl-mode. X-Git-Tag: emacs-20.3~2748 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebff6b7d68abc3a4a369340cd5b87457df1f1391;p=emacs.git (auto-mode-alist): Add more extensions for perl-mode. (interpreter-mode-alist): Add miniperl. --- 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)