]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the python missing-readline warning more helpful
authorBenj <Benjamin.Schwerdtner@gmail.com>
Wed, 10 Nov 2021 09:07:04 +0000 (10:07 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 10 Nov 2021 09:07:42 +0000 (10:07 +0100)
* 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

index b12f5ddc0d106b4d87c10acb0c27cec67de794b7..b12b22e992e526fe720a7f6cf7279ccf104a61be 100644 (file)
@@ -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 ()