Avoid replacing common prefix with ellipsis
* lisp/progmodes/python.el (python-shell-completion-native-setup): Configure readline not to suppress common prefixes. (Bug#51218)
This commit is contained in:
parent
20ebd91a73
commit
4a96f32def
1 changed files with 2 additions and 0 deletions
|
@ -3711,6 +3711,8 @@ def __PYTHON_EL_native_completion_setup():
|
|||
readline.parse_and_bind('tab: complete')
|
||||
# Require just one tab to send output.
|
||||
readline.parse_and_bind('set show-all-if-ambiguous on')
|
||||
# Avoid replacing common prefix with ellipsis.
|
||||
readline.parse_and_bind('set completion-prefix-display-length 0')
|
||||
|
||||
print ('python.el: native completion setup loaded')
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue