On 5/17/07, Ismael Valladolid Torres [EMAIL PROTECTED] wrote:
Kushal Kumaran escribe:
The easy way:
M-x customize-groupReturnfont-lockReturn
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.
Ismael Valladolid Torres escribe:
(add-hook 'text-mode-hook
I meant perl-mode-hook
signature.asc
Description: Digital signature
Kushal Kumaran escribe:
I'm lost. Why should text-mode-hook affect what happens when you edit
perl scripts? Why should you need to frob global-font-lock-mode when
all you need is to toggle it for just one buffer?
You're right, I mistyped, it's perl-mode-hook.
signature.asc
Description:
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
Kushal Kumaran escribe:
The easy way:
M-x customize-groupReturnfont-lockReturn
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.
Putting this in
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
6 matches
Mail list logo