aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenj2021-11-10 10:07:04 +0100
committerLars Ingebrigtsen2021-11-10 10:07:42 +0100
commit754810add1bf4e05089d11b697f9c1d253c1d0ab (patch)
tree80edd8d4e4234bb4386b67741f84c42afe41cad7
parent5a58b2f58c2b8411d593f6ea5a157c20a1176aaf (diff)
downloademacs-754810add1bf4e05089d11b697f9c1d253c1d0ab.tar.gz
emacs-754810add1bf4e05089d11b697f9c1d253c1d0ab.zip
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
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 2 insertions, 1 deletions
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."
3758 (format "was t and %S is not part of the " 3758 (format "was t and %S is not part of the "
3759 (file-name-nondirectory python-shell-interpreter)) 3759 (file-name-nondirectory python-shell-interpreter))
3760 "`python-shell-completion-native-disabled-interpreters' " 3760 "`python-shell-completion-native-disabled-interpreters' "
3761 "list. Native completions have been disabled locally. ")) 3761 "list. Native completions have been disabled locally. "
3762 "Consider installing the python package \"readline\". "))
3762 (python-shell-completion-native-turn-off msg)))))) 3763 (python-shell-completion-native-turn-off msg))))))
3763 3764
3764(defun python-shell-completion-native-turn-on-maybe-with-msg () 3765(defun python-shell-completion-native-turn-on-maybe-with-msg ()