[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 4a96f32: Avoid replacing common prefix with ellipsis
From: |
Stefan Kangas |
Subject: |
emacs-28 4a96f32: Avoid replacing common prefix with ellipsis |
Date: |
Sat, 30 Oct 2021 11:51:45 -0400 (EDT) |
branch: emacs-28
commit 4a96f32def09e2d8a789d0b30ce0523c63203842
Author: Carlos Pita <carlosjosepita@gmail.com>
Commit: Stefan Kangas <stefan@marxist.se>
Avoid replacing common prefix with ellipsis
* lisp/progmodes/python.el
(python-shell-completion-native-setup): Configure readline not to
suppress common prefixes. (Bug#51218)
---
lisp/progmodes/python.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1b55db0..f1c3e75 100644
--- 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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 4a96f32: Avoid replacing common prefix with ellipsis,
Stefan Kangas <=