projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ebd91
)
Avoid replacing common prefix with ellipsis
author
Carlos Pita
<carlosjosepita@gmail.com>
Fri, 15 Oct 2021 00:48:43 +0000
(21:48 -0300)
committer
Stefan Kangas
<stefan@marxist.se>
Sat, 30 Oct 2021 15:51:27 +0000
(17:51 +0200)
* lisp/progmodes/python.el
(python-shell-completion-native-setup): Configure readline not to
suppress common prefixes. (Bug#51218)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 1b55db09503159ccbfd366ef1a52824233fc4346..f1c3e75bb7364eb1769c7fd53e619f1159960651 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-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: