From: James Thomas Date: Sat, 22 Jun 2024 12:27:00 +0000 (+0530) Subject: Do not prematurely truncate python eldoc string X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f9469a2fa73fa92a8779a92d9d8a8ccd78a8206;p=emacs.git Do not prematurely truncate python eldoc string 'eldoc-echo-area-use-multiline-p' is there for that. * lisp/progmodes/python.el (python-eldoc-setup-code): Make the change. (Bug#71720) * etc/NEWS: Announce the change in behavior. (cherry picked from commit 6ec77f580ddbff9001abbc47ab2b857df41b3f36) --- 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"