(setq rcirc-parent-buffer parent)
(insert text)
(and (> pos 0) (goto-char pos))
- (message "Type C-c C-c to return text to %s, or C-c C-k to cancel" parent))))
+ (message "Type %s to return text to %s, or %s to cancel"
+ (substitute-command-keys "\\[rcirc-multiline-minor-submit]")
+ parent
+ (substitute-command-keys "\\[rcirc-multiline-minor-cancel]")))))
(defvar rcirc-multiline-minor-mode-map
(let ((map (make-sparse-keymap)))
;;;###autoload
(defun reftex-index-phrase-selection-or-word (arg)
"Add current selection or word at point to the phrases buffer.
+\\<reftex-index-phrases-mode-map>
When you are in transient-mark-mode and the region is active, the
selection will be used - otherwise the word at point.
You get a chance to edit the entry in the phrases buffer - finish with
-`C-c C-c'."
+\\[reftex-index-phrases-save-and-return]."
(interactive "P")
(set-marker reftex-index-return-marker (point))
(reftex-index-selection-or-word arg 'phrase)
;;;###autoload
(define-derived-mode reftex-index-phrases-mode fundamental-mode "Phrases"
"Major mode for managing the Index phrases of a LaTeX document.
-This buffer was created with RefTeX.
+This buffer was created with RefTeX. \\<reftex-index-phrases-mode-map>
To insert new phrases, use
- `C-c \\' in the LaTeX document to copy selection or word
(insert "\n\n" annotation))
(setq remember-initial-contents nil)
(goto-char (point-min)))
- (message "Use C-c C-c to remember the data.")))
+ (message (substitute-command-keys
+ "Use \\[remember-finalize] to remember the data"))))
;;;###autoload
(defun remember-other-frame (&optional initial)