mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Quote some literal keys to get help-key-binding face
* lisp/align.el (align): * lisp/bindings.el (undo-repeat-map): * lisp/calc/calc-embed.el (calc-do-embedded): * lisp/calc/calc-prog.el (calc-user-define-invocation): * lisp/calc/calc-yank.el (calc--edit-mode): * lisp/comint.el (comint-history-isearch) * lisp/dired.el (dired-mode): * lisp/emulation/viper.el (viper-mode): * lisp/erc/erc-button.el (erc-button-face): * lisp/erc/erc-track.el (erc-track-enable-keybindings): * lisp/gnus/gnus-art.el (gnus-article-button-face): * lisp/gnus/gnus-eform.el (gnus-edit-form): * lisp/gnus/gnus-sum.el (gnus-summary-stop-at-end-of-message) (gnus-summary-goto-unread): * lisp/icomplete.el (icomplete-show-matches-on-no-input): * lisp/image-mode.el (image-scroll-up): * lisp/international/iso-transl.el (iso-transl-set-language): * lisp/isearch.el (isearch-forward-regexp): * lisp/misc.el (butterfly): * lisp/outline.el (outline-minor-mode-cycle-filter) (outline-minor-mode-cycle): * lisp/progmodes/grep.el (rgrep): * lisp/progmodes/gud.el (gud-gdb-repeat-map, gud-sdb-repeat-map) (gud-dbx-repeat-map, gud-xdb-repeat-map, gud-perldb-repeat-map) (gud-pdb-repeat-map, gud-guiler-repeat-map, gud-jdb-repeat-map): * lisp/progmodes/idlw-shell.el (idlwave-shell-graphics-window-size) (idlwave-shell-mode): * lisp/progmodes/idlwave.el (idlwave-shell-debug-modifiers) (idlwave-list-shell-load-path-shadows): * lisp/progmodes/python.el (python-shell-get-process-or-error): * lisp/repeat.el (repeat-check-key): * lisp/replace.el (query-replace, query-replace-regexp) (read-regexp): * lisp/simple.el (read-extended-command-predicate): * lisp/tab-bar.el (tab-bar-switch-repeat-map) (tab-bar-move-repeat-map): * lisp/term.el (ansi-term): * lisp/textmodes/reftex-index.el (reftex-index-phrases-set-macro-key): * lisp/vc/emerge.el (emerge-scroll-left, emerge-scroll-right): * lisp/windmove.el: * lisp/winner.el (winner-mode): Quote literal keys to get 'help-key-binding' face. * lisp/comint.el (comint-insert-previous-argument): Use regular quotes.
This commit is contained in:
parent
bda6e9a226
commit
05297e40c0
33 changed files with 69 additions and 68 deletions
|
|
@ -335,7 +335,8 @@
|
|||
(message (concat
|
||||
"Embedded Calc mode enabled; "
|
||||
(if calc-embedded-quiet
|
||||
"Type `C-x * x'"
|
||||
(substitute-command-keys
|
||||
"Type \\`C-x * x'")
|
||||
"Give this command again")
|
||||
" to return to normal")))))
|
||||
(scroll-down 0))) ; fix a bug which occurs when truncate-lines is changed.
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@
|
|||
(or last-kbd-macro
|
||||
(error "No keyboard macro defined"))
|
||||
(setq calc-invocation-macro last-kbd-macro)
|
||||
(message "Use `C-x * Z' to invoke this macro"))
|
||||
(message (substitute-command-keys "Use \\`C-x * Z' to invoke this macro")))
|
||||
|
||||
(defun calc-user-define-edit ()
|
||||
(interactive) ; but no calc-wrapper!
|
||||
|
|
|
|||
|
|
@ -715,9 +715,9 @@ To cancel the edit, simply kill the *Calc Edit* buffer."
|
|||
(insert (propertize
|
||||
(concat
|
||||
(or title title "Calc Edit Mode. ")
|
||||
(format-message "Press `C-c C-c'")
|
||||
(substitute-command-keys "Press \\`C-c C-c'")
|
||||
(if allow-ret "" " or RET")
|
||||
(format-message " to finish, `C-x k RET' to cancel.\n\n"))
|
||||
(substitute-command-keys " to finish, \\`C-x k RET' to cancel.\n\n"))
|
||||
'font-lock-face 'italic 'read-only t 'rear-nonsticky t 'front-sticky t))
|
||||
(setq-local calc-edit-top (point))))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue