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

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

Re: How to open a file in sh-mode


From: Sebastian Kaps
Subject: Re: How to open a file in sh-mode
Date: Thu, 14 Aug 2008 10:28:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin)

// Francis Moreau writes:

> I'm trying to open a file with emacs automatically set on sh-mode.
> The file name can't be used to guess that emacs should be in sh-mode
> when opening it.

Put
,----
| # -*- mode:sh -*-
`----
 at the beginning of that file.

-- 
Ciao, Sebastian


reply via email to

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