chiark / gitweb /
dot/emacs: No, `interpreter-mode-alist' entries shouldn't have leading `/'.
authorMark Wooding <mwooding@good.com>
Wed, 10 Jun 2015 10:38:43 +0000 (11:38 +0100)
committerMark Wooding <mwooding@good.com>
Wed, 10 Jun 2015 10:43:27 +0000 (11:43 +0100)
I can't believe I've gone for so long with this stupid bug.

dot/emacs

index 1550b13377f845311c154cf11e45d752a62e3df8..f4097922405c7a39ef76228de96b3f2c1b950aeb 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
                ("@BASH@" . sh-mode)
                ("@PYTHON@" . python-mode)
                ("@PERL@" . cperl-mode)
                ("@BASH@" . sh-mode)
                ("@PYTHON@" . python-mode)
                ("@PERL@" . cperl-mode)
-               ("/perl" . cperl-mode)
+               ("perl" . cperl-mode)
                ("@TCLSH@" . tcl-mode)
                ("@WISH@" . tcl-mode)
                ("@TCLSH@" . tcl-mode)
                ("@WISH@" . tcl-mode)
-               ("/tclsh" . tcl-mode)
-               ("/wish" . tcl-mode))
+               ("tclsh" . tcl-mode)
+               ("wish" . tcl-mode))
              interpreter-mode-alist))
 
 (setq completion-ignored-extensions
              interpreter-mode-alist))
 
 (setq completion-ignored-extensions