Commit 8f348211 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(python-mode): Use new name eldoc-documentation-function.

parent 49c65071
......@@ -1680,7 +1680,7 @@ Repeating the command scrolls the completion window."
;;;; Modes.
(defvar outline-heading-end-regexp)
(defvar eldoc-print-current-symbol-info-function)
(defvar eldoc-documentation-function)
(define-derived-mode python-mode fundamental-mode "Python"
......@@ -1740,7 +1740,7 @@ lines count as headers.
(set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)
(setq imenu-create-index-function #'python-imenu-create-index)
(set (make-local-variable 'eldoc-print-current-symbol-info-function)
(set (make-local-variable 'eldoc-documentation-function)
(add-hook 'eldoc-mode-hook
'(lambda () (run-python 0 t)) nil t) ; need it running
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment