[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to disable XEmacs font-lock-mode?



Kushal Kumaran escribe:
> 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.
> 

Putting this in your .emacs should disable font-lock when editing perl
scripts:

(add-hook 'text-mode-hook
  (lambda ()
    (global-font-lock-mode 't)))

Cordially, Ismael
-- 
Ismael Valladolid Torres  m. +34679156321
La media hostia           j. ivalladt@gmail.com

http://lamediahostia.blogspot.com/

Attachment: signature.asc
Description: Digital signature


Reply to: