# HG changeset patch # User Richard M. Stallman # Date 1114513312 0 # Node ID 7b4e7e55f61b7a6dfcb98ba25c466a678c6fa645 # Parent 86712739476e88f1a280bbcc042c6ff44e3f3c0d (python-mode): Use new name eldoc-documentation-function. diff -r 86712739476e -r 7b4e7e55f61b lisp/progmodes/python.el --- a/lisp/progmodes/python.el Tue Apr 26 11:00:56 2005 +0000 +++ b/lisp/progmodes/python.el Tue Apr 26 11:01:52 2005 +0000 @@ -1680,7 +1680,7 @@ ;;;; Modes. (defvar outline-heading-end-regexp) -(defvar eldoc-print-current-symbol-info-function) +(defvar eldoc-documentation-function) ;;;###autoload (define-derived-mode python-mode fundamental-mode "Python" @@ -1740,7 +1740,7 @@ 'python-beginning-of-defun) (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) #'python-eldoc-function) (add-hook 'eldoc-mode-hook '(lambda () (run-python 0 t)) nil t) ; need it running