summaryrefslogtreecommitdiff
path: root/lisp/textmodes/reftex-toc.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-03 21:00:16 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-03 23:31:31 +0200
commitbda6e9a226f42d74176cba640dda7dfef25b764b (patch)
tree32a8de3b9a9fd897b7e7cdd95d2604ecd7e11ef3 /lisp/textmodes/reftex-toc.el
parent5cb8303f6b207eade52ba8faee1ef364617077de (diff)
downloademacs-bda6e9a226f42d74176cba640dda7dfef25b764b.tar.gz
Use command substitutions instead of literal keys in some places
* lisp/emulation/viper-macs.el (ex-map, viper-set-register-macro): * lisp/minibuffer.el (minibuffer-beginning-of-buffer-movement): * lisp/speedbar.el (speedbar-frame-mode): * lisp/subr.el (kbd): * lisp/textmodes/page-ext.el (pages-directory) (pages-directory-for-addresses): * lisp/textmodes/reftex-toc.el: Use command substitutions instead of literal keys.
Diffstat (limited to 'lisp/textmodes/reftex-toc.el')
-rw-r--r--lisp/textmodes/reftex-toc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el
index 9fdb104452b..89c734a0d76 100644
--- a/lisp/textmodes/reftex-toc.el
+++ b/lisp/textmodes/reftex-toc.el
@@ -394,7 +394,9 @@ SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r [?]Help
(frame-parameter frame 'name))
"RefTeX TOC Frame")))
(if (and res error)
- (error "This frame is view-only. Use `C-c =' to create TOC window for commands"))
+ (error (substitute-command-keys
+ "This frame is view-only. Use \\[reftex-toc] \
+to create TOC window for commands")))
res))
(defun reftex-toc-show-help ()