From: Eli Zaretskii Date: Mon, 9 Jan 2017 15:28:17 +0000 (+0200) Subject: Fix an error message in python.el X-Git-Tag: emacs-25.2-rc1~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16fb50db11a186ab9ab4d847c5b5136ba708ee71;p=emacs.git 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) --- 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