From 3c294caa7ac8957aea008c547beb41c714e84a56 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 14 Jun 1995 18:17:22 +0000 Subject: [PATCH] add note about font-lock and fix doc URL --- README | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README b/README index 8e2d658661f..a2a337b62a4 100644 --- a/README +++ b/README @@ -380,6 +380,15 @@ Misc/python-mode.el. Originally written by Tim Peters, who's no longer on the net, it is now maintained by Barry Warsaw . +BTW, if you want to use font-lock for Python sources, here's something +to put in your .emacs file: + + (defun my-python-mode-hook () + (setq font-lock-keywords python-font-lock-keywords) + (font-lock-mode 1)) + (add-hook 'python-mode-hook 'my-python-mode-hook) + + Bug reports ----------- @@ -430,8 +439,8 @@ have to edit the first line as well to fix the -I and -L options.) See the Build Instructions above for more details. There is little documentation. Begin with fetching the "Tk Lifesaver" -document, e.g. (a -gzipped tar file containing a PostScript file). There are demos in +document, e.g. +(a gzipped tar file containing a PostScript file). There are demos in the Demo/tkinter directory, in the subdirectories guido, matt and www. Note that there's a Python module called "Tkinter" (capital T) which