diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-10-05 19:52:23 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-08-23 21:08:38 +0200 |
commit | 67a15ce1564ce35ece24a19f00e03a36e0575746 (patch) | |
tree | ed52e213217d4337e7e47a4818f1f3b7920b2ae0 /lisp/indent.el | |
parent | 42496e64707905531c88dfdbab4c65c6a3c53707 (diff) | |
download | emacs-67a15ce1564ce35ece24a19f00e03a36e0575746.tar.gz emacs-67a15ce1564ce35ece24a19f00e03a36e0575746.tar.bz2 emacs-67a15ce1564ce35ece24a19f00e03a36e0575746.zip |
Use substitute-command-keys in a few more places
* lisp/indent.el (edit-tab-stops):
* lisp/printing.el (pr-help-message, pr-show-setup):
* lisp/progmodes/cperl-mode.el (cperl-narrow-to-here-doc): Use
substitute-command-keys.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r-- | lisp/indent.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/indent.el b/lisp/indent.el index f52b729051d..b0c1a021da7 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -734,7 +734,9 @@ You can add or remove colons and then do \\<edit-tab-stops-map>\\[edit-tab-stops (while (> count 0) (insert "0123456789") (setq count (1- count)))) - (insert "\nTo install changes, type C-c C-c") + (insert (substitute-command-keys + (concat "\nTo install changes, type \\<edit-tab-stops-map>" + "\\[edit-tab-stops-note-changes]"))) (goto-char (point-min))) (defun edit-tab-stops-note-changes () |