diff options
| author | Carlos Pita | 2021-10-14 21:48:43 -0300 |
|---|---|---|
| committer | Stefan Kangas | 2021-10-30 17:51:27 +0200 |
| commit | 4a96f32def09e2d8a789d0b30ce0523c63203842 (patch) | |
| tree | 6cb350d69421333d73bc04c029381a8de9054858 /lisp/progmodes/python.el | |
| parent | 20ebd91a734c3241ca3a9ce15ba81f7357401576 (diff) | |
| download | emacs-4a96f32def09e2d8a789d0b30ce0523c63203842.tar.gz emacs-4a96f32def09e2d8a789d0b30ce0523c63203842.zip | |
Avoid replacing common prefix with ellipsis
* lisp/progmodes/python.el
(python-shell-completion-native-setup): Configure readline not to
suppress common prefixes. (Bug#51218)
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1b55db09503..f1c3e75bb73 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3711,6 +3711,8 @@ def __PYTHON_EL_native_completion_setup(): | |||
| 3711 | readline.parse_and_bind('tab: complete') | 3711 | readline.parse_and_bind('tab: complete') |
| 3712 | # Require just one tab to send output. | 3712 | # Require just one tab to send output. |
| 3713 | readline.parse_and_bind('set show-all-if-ambiguous on') | 3713 | readline.parse_and_bind('set show-all-if-ambiguous on') |
| 3714 | # Avoid replacing common prefix with ellipsis. | ||
| 3715 | readline.parse_and_bind('set completion-prefix-display-length 0') | ||
| 3714 | 3716 | ||
| 3715 | print ('python.el: native completion setup loaded') | 3717 | print ('python.el: native completion setup loaded') |
| 3716 | except: | 3718 | except: |