[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Major Mode Determination from File Contents
From: |
Glenn Morris |
Subject: |
Re: Major Mode Determination from File Contents |
Date: |
Wed, 23 Apr 2003 15:48:38 +0100 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/directory/emacs.html) |
Adalbert Perbandt wrote:
[can't set file local variables in shell scripts]
Emacs info node "Local Variables in Files":
In shell scripts, the first line is used to identify the script
interpreter, so you cannot put any local variables there. To
accommodate for this, when Emacs visits a shell script, it looks
for local variable specifications in the _second_ line.