From 7f9469a2fa73fa92a8779a92d9d8a8ccd78a8206 Mon Sep 17 00:00:00 2001 From: James Thomas Date: Sat, 22 Jun 2024 17:57:00 +0530 Subject: [PATCH] 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) --- lisp/progmodes/python.el | 2 -- 1 file changed, 2 deletions(-) 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" -- 2.39.2