mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
59f7943043
commit
c1cacb0994
19 changed files with 43 additions and 33 deletions
|
|
@ -803,8 +803,9 @@ this or ask the user to start one right now."
|
|||
(type-break-mode-line-message-mode)
|
||||
(t
|
||||
(beep t)
|
||||
(message "%sYou should take a typing break now. Do `M-x type-break'."
|
||||
(type-break-time-stamp))
|
||||
(message "%sYou should take a typing break now. Do ‘%s’."
|
||||
(type-break-time-stamp)
|
||||
(substitute-command-keys "\\[type-break]"))
|
||||
(sit-for 1)
|
||||
(beep t)
|
||||
;; return nil so query caller knows to reset reminder, as if user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue