From: Benj Date: Wed, 10 Nov 2021 09:07:04 +0000 (+0100) Subject: Make the python missing-readline warning more helpful X-Git-Tag: emacs-29.0.90~3671^2~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=754810add1bf4e05089d11b697f9c1d253c1d0ab;p=emacs.git 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 --- 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 ()