Mercurial > emacs
comparison lisp/progmodes/python.el @ 70112:15278e681be3
(python-mode): Fix typo.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 19 Apr 2006 06:37:31 +0000 |
parents | 4f0bc9ecc2a6 |
children | 7a59f2600206 72dea2ff0142 |
comparison
equal
deleted
inserted
replaced
70111:9f68cc95e2da | 70112:15278e681be3 |
---|---|
1742 (setq imenu-create-index-function #'python-imenu-create-index) | 1742 (setq imenu-create-index-function #'python-imenu-create-index) |
1743 (set (make-local-variable 'eldoc-documentation-function) | 1743 (set (make-local-variable 'eldoc-documentation-function) |
1744 #'python-eldoc-function) | 1744 #'python-eldoc-function) |
1745 (add-hook 'eldoc-mode-hook | 1745 (add-hook 'eldoc-mode-hook |
1746 '(lambda () (run-python nil t)) nil t) ; need it running | 1746 '(lambda () (run-python nil t)) nil t) ; need it running |
1747 (unless (assoc 'pyhon-mode hs-special-modes-alist) | 1747 (unless (assoc 'python-mode hs-special-modes-alist) |
1748 (setq | 1748 (setq |
1749 hs-special-modes-alist | 1749 hs-special-modes-alist |
1750 (cons (list | 1750 (cons (list |
1751 'python-mode "^\\s-*def\\>" nil "#" | 1751 'python-mode "^\\s-*def\\>" nil "#" |
1752 (lambda (arg)(python-end-of-defun)(skip-chars-backward " \t\n")) | 1752 (lambda (arg)(python-end-of-defun)(skip-chars-backward " \t\n")) |