diff options
| author | Miles Bader | 2006-04-21 05:39:14 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-04-21 05:39:14 +0000 |
| commit | 7e635d0ed3c42e6e779821f5c0c1c62289f4c1ee (patch) | |
| tree | dc3853824edd4a6d426ab69a584a70c53a230dd0 /lisp/progmodes/python.el | |
| parent | cfc2051d0ed5a268528a647ab0911a2f5cc451de (diff) | |
| parent | f67d6742cb77a21087e40ae7ee4c84556ca18970 (diff) | |
| download | emacs-7e635d0ed3c42e6e779821f5c0c1c62289f4c1ee.tar.gz emacs-7e635d0ed3c42e6e779821f5c0c1c62289f4c1ee.zip | |
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-57
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 226-238)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: lisp/progmodes/python.el (python-mode): Fix typo.
* gnus--rel--5.10 (patch 86-90)
- Update from CVS
- Merge from emacs--devo--0
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f110828d602..5e645535a23 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1744,6 +1744,14 @@ lines count as headers. | |||
| 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 'python-mode hs-special-modes-alist) | ||
| 1748 | (setq | ||
| 1749 | hs-special-modes-alist | ||
| 1750 | (cons (list | ||
| 1751 | 'python-mode "^\\s-*def\\>" nil "#" | ||
| 1752 | (lambda (arg)(python-end-of-defun)(skip-chars-backward " \t\n")) | ||
| 1753 | nil) | ||
| 1754 | hs-special-modes-alist))) | ||
| 1747 | (if (featurep 'hippie-exp) | 1755 | (if (featurep 'hippie-exp) |
| 1748 | (set (make-local-variable 'hippie-expand-try-functions-list) | 1756 | (set (make-local-variable 'hippie-expand-try-functions-list) |
| 1749 | (cons 'python-try-complete hippie-expand-try-functions-list))) | 1757 | (cons 'python-try-complete hippie-expand-try-functions-list))) |