emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 16fb50d: Fix an error message in python.el


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 16fb50d: Fix an error message in python.el
Date: Mon, 9 Jan 2017 15:29:00 +0000 (UTC)

branch: emacs-25
commit 16fb50db11a186ab9ab4d847c5b5136ba708ee71
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix an error message in python.el
    
    * lisp/progmodes/python.el (python-shell-get-process-or-error):
    Don't repeat the same key binding twice.  (Bug#25405)
---
 lisp/progmodes/python.el |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f9956e1..306402d 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2826,8 +2826,7 @@ of `error' with a user-friendly message."
   (or (python-shell-get-process)
       (if interactivep
           (user-error
-           "Start a Python process first with `%s' or `%s'."
-           (substitute-command-keys "\\[run-python]")
+           "Start a Python process first with `M-x run-python' or `%s'."
            ;; Get the binding.
            (key-description
             (where-is-internal



reply via email to

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