[plug] Re: global-font-lock-mode not activating colourisation when executed from .emacs

David Buddrige dbuddrige at wasp.net.au
Wed Feb 2 09:10:05 WST 2005


thanks heaps for that - this works perfectly. 8-) 

cheers 

David. 

Jim Householder writes:
> 
> For what it's worth, this is my .emacs code:
>    (defun turn-on-font-lock ()
>      (font-lock-mode 1)) 
> 
>    (require 'font-lock)
>    (global-font-lock-mode t) 
> 
>    (setq font-lock-maximum-decoration t)
>    (eval-after-load "font-lock"
>                     '(add-to-list 'c-font-lock-keywords-3
>                                   '("\\<FILE\\>" . font-lock-type-face))) 
> 
> I'm not sure how much is actually needed.  It has evolved since I started 
> with version 19.34. 
> 
> HTH
> Jim
> _______________________________________________
> PLUG discussion list: plug at plug.linux.org.au
> http://spark.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
 



More information about the plug mailing list