Fixed eldoc behavior.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)
commit15cc40b8199735e600ddf718b936917ff4d79db0
tree94ffc9575693817dc76e5081f74e94cf70f3c95c
parent9787f82961e029a8a096aa2a4a327eebb974b13c
Fixed eldoc behavior.

      * python-eldoc-setup-code: The code to get help now uses the
        inspect element. When an object doesn't have documentation and
        if it is callable it returns the signature for it. Also when
        an object does contain documentation it only returns the first
        line.

      * python-eldoc-at-point: has been simplified to just message the
        doc header of objects.

      * python-info-current-defun: was not taking into account the
        current indentation so point was always inside a defun, even
        if the indentation was less or equal than the defun above.
lisp/progmodes/python.el