1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

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.
This commit is contained in:
Fabián Ezequiel Gallina 2014-11-16 11:11:49 -03:00
parent c613f4d6c1
commit cf100f60a6
2 changed files with 11 additions and 3 deletions

View file

@ -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.