On 5/16/07, Russell L. Harris <[EMAIL PROTECTED]> wrote:
How can I disable font-lock-mode in Emacs (actually XEmacs)?
It appears that, upon seeing the first line of a Perl script:
#!/usr/bin/perl
Emacs sets font-lock-mode.
But I do not wish to use font-lock mode when working with Perl
scripts. I am editing a number of short Perl scripts, and I do not
wish to go through the routine:
M-x font-lock-mode
to toggle off font-lock-mode each time I load a script for editing.
The easy way:
M-x customize-group<Return>font-lock<Return>
See "Font Lock Global Modes" in that customization group. Use it to
turn off font-lock for perl-mode.
Note: I've checked this out in emacs only. Probably is the same way
in XEmacs too.
--
Kushal
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]