Mercurial > emacs
comparison lisp/progmodes/python.el @ 84947:855c76036fe8
(python-eldoc-function): Doc fix.
| author | Juanma Barranquero <lekktu@gmail.com> |
|---|---|
| date | Thu, 27 Sep 2007 11:51:15 +0000 |
| parents | 745fc321a3b4 |
| children | 5039706521c9 |
comparison
equal
deleted
inserted
replaced
| 84946:635c3d8f3903 | 84947:855c76036fe8 |
|---|---|
| 1618 (kill-local-variable 'python-preoutput-result))))) | 1618 (kill-local-variable 'python-preoutput-result))))) |
| 1619 | 1619 |
| 1620 ;; Fixme: Is there anything reasonable we can do with random methods? | 1620 ;; Fixme: Is there anything reasonable we can do with random methods? |
| 1621 ;; (Currently only works with functions.) | 1621 ;; (Currently only works with functions.) |
| 1622 (defun python-eldoc-function () | 1622 (defun python-eldoc-function () |
| 1623 "`eldoc-print-current-symbol-info' for Python. | 1623 "`eldoc-documentation-function' for Python. |
| 1624 Only works when point is in a function name, not its arg list, for | 1624 Only works when point is in a function name, not its arg list, for |
| 1625 instance. Assumes an inferior Python is running." | 1625 instance. Assumes an inferior Python is running." |
| 1626 (let ((symbol (with-syntax-table python-dotty-syntax-table | 1626 (let ((symbol (with-syntax-table python-dotty-syntax-table |
| 1627 (current-word)))) | 1627 (current-word)))) |
| 1628 ;; This is run from timers, so inhibit-quit tends to be set. | 1628 ;; This is run from timers, so inhibit-quit tends to be set. |
