chiark / gitweb /
dot/emacs: Recognize some Autoconf tokens in shebang lines.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 18 Dec 2011 16:26:04 +0000 (16:26 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 18 Dec 2011 16:27:06 +0000 (16:27 +0000)
Maybe more of these later.

dot/emacs

index 931e5b1d22e8c567902887d659346b2e8daa3d87..fca998c822d9edf0f9d92c2deccdcb455d9b6c2d 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
              auto-mode-alist))
 
 (setq interpreter-mode-alist
-      (append `(("runlisp" . lisp-mode))
+      (append `(("runlisp" . lisp-mode)
+               ("@PYTHON@" . python-mode)
+               ("@PERL@" . perl-mode)
+               ("@TCLSH@" . tcl-mode)
+               ("@WISH@" . tcl-mode))
              interpreter-mode-alist))
 
 (setq completion-ignored-extensions