diff options
| author | Richard M. Stallman | 2005-04-26 11:01:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-04-26 11:01:52 +0000 |
| commit | 8f348211f9851ea882032206032e6a4a275c5e61 (patch) | |
| tree | 75f87b7981873c15ab39197b93e87c519b174347 /lisp/progmodes/python.el | |
| parent | 49c650714b9b5601a85f91e4a26c532cb816fcc1 (diff) | |
| download | emacs-8f348211f9851ea882032206032e6a4a275c5e61.tar.gz emacs-8f348211f9851ea882032206032e6a4a275c5e61.zip | |
(python-mode): Use new name eldoc-documentation-function.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 5073f2bc23a..3f556bdb695 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1680,7 +1680,7 @@ Repeating the command scrolls the completion window." | |||
| 1680 | ;;;; Modes. | 1680 | ;;;; Modes. |
| 1681 | 1681 | ||
| 1682 | (defvar outline-heading-end-regexp) | 1682 | (defvar outline-heading-end-regexp) |
| 1683 | (defvar eldoc-print-current-symbol-info-function) | 1683 | (defvar eldoc-documentation-function) |
| 1684 | 1684 | ||
| 1685 | ;;;###autoload | 1685 | ;;;###autoload |
| 1686 | (define-derived-mode python-mode fundamental-mode "Python" | 1686 | (define-derived-mode python-mode fundamental-mode "Python" |
| @@ -1740,7 +1740,7 @@ lines count as headers. | |||
| 1740 | 'python-beginning-of-defun) | 1740 | 'python-beginning-of-defun) |
| 1741 | (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun) | 1741 | (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun) |
| 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-print-current-symbol-info-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 0 t)) nil t) ; need it running | 1746 | '(lambda () (run-python 0 t)) nil t) ; need it running |