all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.