Is there python code highlighting in emacs ?

Dan Schmidt dfan at harmonixmusic.com
Thu Mar 22 09:46:33 EST 2001


John McMonagle <jmcmonagle at velseis.com.au> writes:

| Add the following to your .emacs file:
| 
| (add-hook 'python-mode-hook '(lambda() (font-lock-mode 1)))

Or, if you want font-lock on for all modes that support it, just use:

  (global-font-lock-mode t)

And then you'll never have to turn any text coloring on by hand
again.

-- 
http://www.dfan.org



More information about the Python-list mailing list