[Top][All Lists]

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

Re: [O] Variable settings in .emacs VS cross device portability.

From: janek
Subject: Re: [O] Variable settings in .emacs VS cross device portability.
Date: Mon, 06 Feb 2012 20:55:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Yu <address@hidden> writes:

> code). The emacs-documentation doesn't mention it, but apparently this
> works also in shebang'ed files, by moving the single line form (`-*-
> ... -*-') to the second line. [2]
> [1] 
> http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html
> [2] http://www.lugaru.com/man/File.Variables.html

Choosing File Modes

(info "(emacs) Choosing Modes")

   When the first line starts with `#!', you usually cannot use the
`-*-' feature on the first line, because the system would get confused
when running the interpreter.  So Emacs looks for `-*-' on the second
line in such files as well as on the first line.

reply via email to

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