Commit 16fb50db authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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)
parent a2a20739
......@@ -2826,8 +2826,7 @@ of `error' with a user-friendly message."
(or (python-shell-get-process)
(if interactivep
"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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment