dot/emacs: Use `tcl-mode' for versioned `tclsh' or `wish'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 31 Dec 2012 05:32:12 +0000 (05:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 31 Dec 2012 05:32:12 +0000 (05:32 +0000)
Otherwise `#! /usr/bin/tclsh8.5' doesn't work right.

dot/emacs

index 7c97a2d..ceef414 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
                ("@PYTHON@" . python-mode)
                ("@PERL@" . perl-mode)
                ("@TCLSH@" . tcl-mode)
-               ("@WISH@" . tcl-mode))
+               ("@WISH@" . tcl-mode)
+               ("/tclsh" . tcl-mode)
+               ("/wish" . tcl-mode))
              interpreter-mode-alist))
 
 (setq completion-ignored-extensions