Kevin Rodgers wrote:
I thought the syntax had to be
# -*- mode: sh-mode; sh-shell-file: "/usr/bin/tcsh"; -*-
Yes, I used to think that too, but then I read this in the info node "Local
Variables in Files":
_If `mode' is used to set a major mode, it should be the first
"variable" in the list._
This implies to me (though not very clearly), that the "mode" statement is
optional, but if present it must go at the front.
Anyway, I can confirm that sh-shell-file is set to the "tcsh" value whether
or not I put the "mode" keyword in; but it happens after the mode setup and
so has no effect.