emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el
Date: Tue, 26 Apr 2005 07:01:52 -0400

Index: emacs/lisp/progmodes/python.el
diff -c emacs/lisp/progmodes/python.el:1.27 emacs/lisp/progmodes/python.el:1.28
*** emacs/lisp/progmodes/python.el:1.27 Tue Mar 29 14:12:23 2005
--- emacs/lisp/progmodes/python.el      Tue Apr 26 11:01:52 2005
***************
*** 1680,1686 ****
  ;;;; Modes.
  
  (defvar outline-heading-end-regexp)
! (defvar eldoc-print-current-symbol-info-function)
  
  ;;;###autoload
  (define-derived-mode python-mode fundamental-mode "Python"
--- 1680,1686 ----
  ;;;; Modes.
  
  (defvar outline-heading-end-regexp)
! (defvar eldoc-documentation-function)
  
  ;;;###autoload
  (define-derived-mode python-mode fundamental-mode "Python"
***************
*** 1740,1746 ****
         '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)
         #'python-eldoc-function)
    (add-hook 'eldoc-mode-hook
            '(lambda () (run-python 0 t)) nil t) ; need it running
--- 1740,1746 ----
         '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-documentation-function)
         #'python-eldoc-function)
    (add-hook 'eldoc-mode-hook
            '(lambda () (run-python 0 t)) nil t) ; need it running




reply via email to

[Prev in Thread] Current Thread [Next in Thread]