On 11/12/07, Andrew Morton <[EMAIL PROTECTED]> wrote:
> On Mon, 12 Nov 2007 15:34:40 +0000 David Howells <[EMAIL PROTECTED]> wrote:
>
> > Andrew Morton <[EMAIL PROTECTED]> wrote:
> >
> > > > +# -*- makefile -*-
> > >
> > > what's that?
> >
> > Ah...  That tells emacs that it's a makefile.  In Kbuild.asm emacs thinks 
> > its
> > an Assembly file and not a makefile.  This causes it to attempt to do
> > automatic indentation on it.  Do you want me to drop these annotation
> > comments?
>
> Doesn't worry me, but I'd suggest that such annotation be added to all such
> files in a single separate patch.
>
> otoh it'd be pretty dumb of emacs if there wasn't some way of telling it
> the type of a file external from that file itself.

(push '("/Kbuild" . makefile-mode) auto-mode-alist)

-sb
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to