]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
add note about font-lock and fix doc URL
authorGuido van Rossum <guido@python.org>
Wed, 14 Jun 1995 18:17:22 +0000 (18:17 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 14 Jun 1995 18:17:22 +0000 (18:17 +0000)
README

diff --git a/README b/README
index 8e2d658661fd66240182f5addbf6d1e721f9959e..a2a337b62a44682d7c8dff39196cb3bdbc99864b 100644 (file)
--- 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
 <bwarsaw@cnri.reston.va.com>.
 
+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. <URL:ftp://ftp.cwi.nl/pub/python/tkinter-doc.tar.gz> (a
-gzipped tar file containing a PostScript file).  There are demos in
+document, e.g. <URL:ftp://ftp.cwi.nl/pub/python/doc/tkinter-doc.tar.gz>
+(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