Mercurial > emacs
comparison lisp/progmodes/python.el @ 90159:08185296b491
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-44
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 272-288)
- src/xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field.
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 67)
- Update from CVS
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Thu, 05 May 2005 00:04:55 +0000 |
| parents | 4da4a09e8b1b 7b4e7e55f61b |
| children | bb71c6cf2009 |
comparison
equal
deleted
inserted
replaced
| 90158:bf4846baba9a | 90159:08185296b491 |
|---|---|
| 1678 nil))) | 1678 nil))) |
| 1679 | 1679 |
| 1680 ;;;; Modes. | 1680 ;;;; Modes. |
| 1681 | 1681 |
| 1682 (defvar outline-heading-end-regexp) | 1682 (defvar outline-heading-end-regexp) |
| 1683 (defvar eldoc-print-current-symbol-info-function) | 1683 (defvar eldoc-documentation-function) |
| 1684 | 1684 |
| 1685 ;;;###autoload | 1685 ;;;###autoload |
| 1686 (define-derived-mode python-mode fundamental-mode "Python" | 1686 (define-derived-mode python-mode fundamental-mode "Python" |
| 1687 "Major mode for editing Python files. | 1687 "Major mode for editing Python files. |
| 1688 Turns on Font Lock mode unconditionally since it is required for correct | 1688 Turns on Font Lock mode unconditionally since it is required for correct |
| 1738 (make-local-variable 'python-saved-check-command) | 1738 (make-local-variable 'python-saved-check-command) |
| 1739 (set (make-local-variable 'beginning-of-defun-function) | 1739 (set (make-local-variable 'beginning-of-defun-function) |
| 1740 'python-beginning-of-defun) | 1740 'python-beginning-of-defun) |
| 1741 (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun) | 1741 (set (make-local-variable 'end-of-defun-function) 'python-end-of-defun) |
| 1742 (setq imenu-create-index-function #'python-imenu-create-index) | 1742 (setq imenu-create-index-function #'python-imenu-create-index) |
| 1743 (set (make-local-variable 'eldoc-print-current-symbol-info-function) | 1743 (set (make-local-variable 'eldoc-documentation-function) |
| 1744 #'python-eldoc-function) | 1744 #'python-eldoc-function) |
| 1745 (add-hook 'eldoc-mode-hook | 1745 (add-hook 'eldoc-mode-hook |
| 1746 '(lambda () (run-python 0 t)) nil t) ; need it running | 1746 '(lambda () (run-python 0 t)) nil t) ; need it running |
| 1747 (if (featurep 'hippie-exp) | 1747 (if (featurep 'hippie-exp) |
| 1748 (set (make-local-variable 'hippie-expand-try-functions-list) | 1748 (set (make-local-variable 'hippie-expand-try-functions-list) |
