diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-01-09 17:28:17 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-01-09 17:28:17 +0200 |
commit | 16fb50db11a186ab9ab4d847c5b5136ba708ee71 (patch) | |
tree | 712bf09115591c3a47331e027a665cd76227565d /lisp/progmodes | |
parent | a2a20739331a216826b9c76d49b0aa2abd68deee (diff) | |
download | emacs-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)
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/python.el | 3 |
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 |