diff options
| author | Eli Zaretskii | 2017-01-09 17:28:17 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-01-09 17:28:17 +0200 |
| commit | 16fb50db11a186ab9ab4d847c5b5136ba708ee71 (patch) | |
| tree | 712bf09115591c3a47331e027a665cd76227565d /lisp/progmodes/python.el | |
| parent | a2a20739331a216826b9c76d49b0aa2abd68deee (diff) | |
| download | emacs-16fb50db11a186ab9ab4d847c5b5136ba708ee71.tar.gz emacs-16fb50db11a186ab9ab4d847c5b5136ba708ee71.zip | |
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/python.el')
| -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." | |||
| 2826 | (or (python-shell-get-process) | 2826 | (or (python-shell-get-process) |
| 2827 | (if interactivep | 2827 | (if interactivep |
| 2828 | (user-error | 2828 | (user-error |
| 2829 | "Start a Python process first with `%s' or `%s'." | 2829 | "Start a Python process first with `M-x run-python' or `%s'." |
| 2830 | (substitute-command-keys "\\[run-python]") | ||
| 2831 | ;; Get the binding. | 2830 | ;; Get the binding. |
| 2832 | (key-description | 2831 | (key-description |
| 2833 | (where-is-internal | 2832 | (where-is-internal |