[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to rescan for mode comment in new buffer?
From: |
KARR, DAVID (ATTCINW) |
Subject: |
RE: How to rescan for mode comment in new buffer? |
Date: |
Fri, 31 Jul 2009 13:21:54 -0700 |
Thanks.
> -----Original Message-----
> From: Edward O'Connor [mailto:hober0@gmail.com]
> Sent: Friday, July 31, 2009 1:07 PM
> To: KARR, DAVID (ATTCINW)
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: How to rescan for mode comment in new buffer?
>
> > If I've created a new empty file and pasted in the header that will
> make
> > the shell and Emacs recognize it as a Perl script, what's the easiest
> > way to "refresh" it so that Emacs recognizes that it has to go into
> Perl
> > mode? I could just manually run "perl-mode", but I'd rather a
> cleaner
> > way to do it. Saving, killing the buffer and reloading it seems
> > excessive also.
>
> M-x normal-mode RET
>
>
> HTH. HAND.
> Ted