aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJames Thomas2024-06-22 17:57:00 +0530
committerEli Zaretskii2024-06-27 11:53:29 +0300
commit6ec77f580ddbff9001abbc47ab2b857df41b3f36 (patch)
tree40c3abed8cde41925d7cd3ae7face4c84659ff89 /lisp/progmodes/python.el
parentf475a1a25449509aa8c081d63f6ca63833cfdd35 (diff)
downloademacs-6ec77f580ddbff9001abbc47ab2b857df41b3f36.tar.gz
emacs-6ec77f580ddbff9001abbc47ab2b857df41b3f36.zip
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.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 0 insertions, 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."
5612 doc = '{objtype} {name}{args}'.format( 5612 doc = '{objtype} {name}{args}'.format(
5613 objtype=objtype, name=name, args=args 5613 objtype=objtype, name=name, args=args
5614 ) 5614 )
5615 else:
5616 doc = doc.splitlines()[0]
5617 except: 5615 except:
5618 doc = '' 5616 doc = ''
5619 return doc" 5617 return doc"