unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to rescan for mode comment in new buffer?
@ 2009-07-31 19:55 KARR, DAVID (ATTCINW)
  2009-07-31 20:07 ` Edward O'Connor
  0 siblings, 1 reply; 4+ messages in thread
From: KARR, DAVID (ATTCINW) @ 2009-07-31 19:55 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <mailman.3597.1249070138.2239.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2009-07-31 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31 19:55 How to rescan for mode comment in new buffer? KARR, DAVID (ATTCINW)
2009-07-31 20:07 ` Edward O'Connor
2009-07-31 20:21   ` KARR, DAVID (ATTCINW)
     [not found] <mailman.3597.1249070138.2239.help-gnu-emacs@gnu.org>
2009-07-31 20:08 ` Joost Kremers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).