emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 754810a: Make the python missing-readline warning more helpful


From: Lars Ingebrigtsen
Subject: master 754810a: Make the python missing-readline warning more helpful
Date: Wed, 10 Nov 2021 04:07:47 -0500 (EST)

branch: master
commit 754810add1bf4e05089d11b697f9c1d253c1d0ab
Author: Benj <Benjamin.Schwerdtner@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b12f5dd..b12b22e 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]