help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting shell type in sh-mode


From: Kevin Rodgers
Subject: Re: Setting shell type in sh-mode
Date: Thu, 17 Oct 2002 11:00:05 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Glenn Morris wrote:

I can't use
# -*- sh-shell-file "/usr/bin/tcsh" -*-


I thought the syntax had to be

# -*- mode: sh-mode; sh-shell-file: "/usr/bin/tcsh"; -*-


since local variables are hacked after the mode setup (including any hook)
has finished, and my default sh-shell-file is "/bin/bash". It seems that
adding after advice to sh-mode suffers from the same problem.


Did you try adding a local variables list at the end of the file?

# Local Variables:
# sh-shell-file: "/usr/bin/tcsh"
# End:

--
<a href="mailto:&lt;kevinr&#64;ihs.com&gt;";>Kevin Rodgers</a>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]