]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix an error message in python.el
authorEli Zaretskii <eliz@gnu.org>
Mon, 9 Jan 2017 15:28:17 +0000 (17:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 9 Jan 2017 15:28:17 +0000 (17:28 +0200)
* lisp/progmodes/python.el (python-shell-get-process-or-error):
Don't repeat the same key binding twice.  (Bug#25405)

lisp/progmodes/python.el

index f9956e1599f8e1611e68f0b3a69c095ae27d8b7e..306402d8e3b4928322422fd2a13b42a11a25386e 100644 (file)
@@ -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