summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f9956e1599f..306402d8e3b 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