Prevent resizing the echo area when iPython is enabled

Fixes: debbugs:18794

* lisp/progmodes/python.el (python-eldoc--get-doc-at-point): Strip
shell output before returning.
parent c613f4d6
2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el (python-eldoc--get-doc-at-point): Strip
shell output before returning. (bug#18794)
2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
Fix indentation before `!=' and after `+='. Originally reported
......
......@@ -3408,9 +3408,12 @@ returns will be used. If not FORCE-PROCESS is passed what
(let ((input (or force-input
(python-info-current-symbol t))))
(and input
(python-shell-send-string-no-output
(format python-eldoc-string-code input)
process))))))
;; Prevent resizing the echo area when iPython is
;; enabled. Bug#18794.
(python-util-strip-string
(python-shell-send-string-no-output
(format python-eldoc-string-code input)
process)))))))
(defun python-eldoc-function ()
"`eldoc-documentation-function' for Python.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment