Mercurial > emacs
changeset 61857:7b4e7e55f61b
(python-mode): Use new name eldoc-documentation-function.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Apr 2005 11:01:52 +0000 |
parents | 86712739476e |
children | 93f163f12d38 |
files | lisp/progmodes/python.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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