diff --git a/etc/NEWS b/etc/NEWS index 8d360063f7a..b1b01b80bbb 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1555,6 +1555,11 @@ interactive Python interpreter specified by 'python-interpreter'. It sends the python block delimited by 'python-nav-beginning-of-block' and 'python-nav-end-of-block' to the inferior Python process. +*** 'eldoc' no longer truncates to a single line by default. +Previously, the entire docstring was not available to eldoc, which made +'eldoc-echo-area-use-multiline-p' ineffective. The old behaviour may be +kept by setting that. + ** Inferior Python mode --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index ca5ecfab6ea..89eefd1f08a 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -5612,8 +5612,6 @@ See `python-check-command' for the default." doc = '{objtype} {name}{args}'.format( objtype=objtype, name=name, args=args ) - else: - doc = doc.splitlines()[0] except: doc = '' return doc"