aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPaul Eggert2015-08-21 14:08:47 -0700
committerPaul Eggert2015-08-21 14:09:47 -0700
commitc1cacb09948928287bfc32745f2a92604d3291c4 (patch)
treeffda141622df981f55d25b8171fac6691a40f47f /lisp/progmodes/python.el
parent59f7943043fa4afb922f4553c9994e20c534fc57 (diff)
downloademacs-c1cacb09948928287bfc32745f2a92604d3291c4.tar.gz
emacs-c1cacb09948928287bfc32745f2a92604d3291c4.zip
Avoid hard-coding "M-x command" in docstrings
* lisp/calendar/todo-mode.el (todo-mode): * lisp/desktop.el (desktop-save-mode): * lisp/edmacro.el (edit-kbd-macro): * lisp/emacs-lisp/package.el (package-menu-execute): * lisp/emulation/viper-cmd.el (viper-ask-level): * lisp/emulation/viper-init.el (viper-expert-level): * lisp/filesets.el (filesets-add-buffer): * lisp/follow.el (follow-mode): * lisp/gnus/auth-source.el (auth-sources): * lisp/international/ogonek.el (ogonek-informacja) (ogonek-information): * lisp/net/tramp.el (tramp-process-actions): * lisp/org/org-gnus.el (org-gnus-no-new-news): * lisp/org/org.el (org-ellipsis): * lisp/progmodes/python.el (python-shell-get-process-or-error): * lisp/progmodes/vhdl-mode.el (vhdl-mode): * lisp/server.el (server-start): * lisp/type-break.el (type-break-noninteractive-query): * lisp/userlock.el (ask-user-about-supersession-help): * lisp/whitespace.el (whitespace-report-region): Prefer (substitute-command-keys "`\\[foo-command]'") to "`M-x foo-command'" in docstrings and the like.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0b7b9b7f501..189cd3759f5 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2720,7 +2720,8 @@ of `error' with a user-friendly message."
2720 (or (python-shell-get-process) 2720 (or (python-shell-get-process)
2721 (if interactivep 2721 (if interactivep
2722 (user-error 2722 (user-error
2723 "Start a Python process first with `M-x run-python' or `%s'." 2723 "Start a Python process first with ā€˜%s’ or ā€˜%s’."
2724 (substitute-command-keys "\\[run-python]")
2724 ;; Get the binding. 2725 ;; Get the binding.
2725 (key-description 2726 (key-description
2726 (where-is-internal 2727 (where-is-internal