]> git.eshelyaron.com Git - emacs.git/commitdiff
Do not prematurely truncate python eldoc string
authorJames Thomas <jimjoe@gmx.net>
Sat, 22 Jun 2024 12:27:00 +0000 (17:57 +0530)
committerEshel Yaron <me@eshelyaron.com>
Fri, 28 Jun 2024 05:51:11 +0000 (07:51 +0200)
'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)

lisp/progmodes/python.el

index ca5ecfab6ead620f95aefb24b9dc8157b05c032c..89eefd1f08a0cc486b5f7a38bf89807768f55e35 100644 (file)
@@ -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"