diff options
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 |