From 16fb50db11a186ab9ab4d847c5b5136ba708ee71 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 9 Jan 2017 17:28:17 +0200 Subject: [PATCH] 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) --- lisp/progmodes/python.el | 3 +-- 1 file changed, 1 insertion(+), 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 -- 2.39.2