/[emacs]/emacs/lisp/progmodes/python.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/python.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.27 by monnier, Tue Mar 29 14:12:23 2005 UTC revision 1.28 by rms, Tue Apr 26 11:01:52 2005 UTC
# Line 1680  Repeating the command scrolls the comple Line 1680  Repeating the command scrolls the comple
1680  ;;;; Modes.  ;;;; Modes.
1681    
1682  (defvar outline-heading-end-regexp)  (defvar outline-heading-end-regexp)
1683  (defvar eldoc-print-current-symbol-info-function)  (defvar eldoc-documentation-function)
1684    
1685  ;;;###autoload  ;;;###autoload
1686  (define-derived-mode python-mode fundamental-mode "Python"  (define-derived-mode python-mode fundamental-mode "Python"
# Line 1740  lines count as headers. Line 1740  lines count as headers.
1740         'python-beginning-of-defun)         'python-beginning-of-defun)
1741    (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)    (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun)
1742    (setq imenu-create-index-function #'python-imenu-create-index)    (setq imenu-create-index-function #'python-imenu-create-index)
1743    (set (make-local-variable 'eldoc-print-current-symbol-info-function)    (set (make-local-variable 'eldoc-documentation-function)
1744         #'python-eldoc-function)         #'python-eldoc-function)
1745    (add-hook 'eldoc-mode-hook    (add-hook 'eldoc-mode-hook
1746              '(lambda () (run-python 0 t)) nil t) ; need it running              '(lambda () (run-python 0 t)) nil t) ; need it running

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26