From 754810add1bf4e05089d11b697f9c1d253c1d0ab Mon Sep 17 00:00:00 2001 From: Benj Date: Wed, 10 Nov 2021 10:07:04 +0100 Subject: Make the python missing-readline warning more helpful * lisp/progmodes/python.el (python-shell-completion-native-turn-on-maybe): Mention the "readline" package (bug#48998). Copyright-paperwork-exempt: yes --- lisp/progmodes/python.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/progmodes/python.el') diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index b12f5ddc0d1..b12b22e992e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -3758,7 +3758,8 @@ With argument MSG show activation/deactivation message." (format "was t and %S is not part of the " (file-name-nondirectory python-shell-interpreter)) "`python-shell-completion-native-disabled-interpreters' " - "list. Native completions have been disabled locally. ")) + "list. Native completions have been disabled locally. " + "Consider installing the python package \"readline\". ")) (python-shell-completion-native-turn-off msg)))))) (defun python-shell-completion-native-turn-on-maybe-with-msg () -- cgit v1.2.1