summaryrefslogtreecommitdiff
path: root/lisp/modules/xedit.lsp
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-12 21:59:34 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-02 19:07:03 -0300
commit5bd8082a9788a1b5343eb03400944a03e4250577 (patch)
tree79f957e994df3669c7d860b5d8d061c11292a0f1 /lisp/modules/xedit.lsp
parenta17bf690a8f80f252c3a831c79d6e8d11ce8d66c (diff)
Add perl and "auto tools" modes.
Auto mode has only syntax highlight mode; needs some tweaking to ignore "'" characters where they are allowed, i.e. usually descriptions. Perl mode has syntax highlight and indentation support. May need some tweaking for some files where it may parse back too much lines before assuming the indentation is correct.
Diffstat (limited to 'lisp/modules/xedit.lsp')
-rw-r--r--lisp/modules/xedit.lsp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/modules/xedit.lsp b/lisp/modules/xedit.lsp
index 25019ec..d3e2a02 100644
--- a/lisp/modules/xedit.lsp
+++ b/lisp/modules/xedit.lsp
@@ -64,8 +64,12 @@
"Patch file" "patch" . *patch-mode*)
("[Mm]akefile.*|\\.mk$"
"Makefile" "make" . *make-mode*)
+ ("\\.(ac|in|m4)$"
+ "Autotools" "auto" . *auto-mode*)
("\\.spec$"
"RPM spec" "rpm" . *rpm-mode*)
+ ("\\.(pl|pm|ph)$"
+ "Perl" "perl" . *perl-mode*)
("\\.(sgml?|dtd)$"
"SGML" "sgml" . *sgml-mode*)
("\\.html?$"