summaryrefslogtreecommitdiff
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-05 19:52:23 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-08-23 21:08:38 +0200
commit67a15ce1564ce35ece24a19f00e03a36e0575746 (patch)
treeed52e213217d4337e7e47a4818f1f3b7920b2ae0 /lisp/indent.el
parent42496e64707905531c88dfdbab4c65c6a3c53707 (diff)
downloademacs-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.el4
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 ()