summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-01-09 17:28:17 +0200
committerEli Zaretskii <eliz@gnu.org>2017-01-09 17:28:17 +0200
commit16fb50db11a186ab9ab4d847c5b5136ba708ee71 (patch)
tree712bf09115591c3a47331e027a665cd76227565d
parenta2a20739331a216826b9c76d49b0aa2abd68deee (diff)
downloademacs-16fb50db11a186ab9ab4d847c5b5136ba708ee71.tar.gz
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)
-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