]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/python.el
Merge branch 'emacs-24'
[gnu-emacs] / lisp / progmodes / python.el
index 3e204a92cd37faafeac0e931ea52bb3b6de43bec..9680a4aa9d554f60a6358f161b73ae5498b9b965 100644 (file)
@@ -3615,9 +3615,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.