comparison lisp/progmodes/python.el @ 78897:9aa24f503773

(python-eldoc-function): Doc fix.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 27 Sep 2007 21:23:43 +0000
parents 38a441bc4532
children a1342e6e097a 5039706521c9
comparison
equal deleted inserted replaced
78896:10b783997d95 78897:9aa24f503773
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.