|
From: | Basil L. Contovounesios |
Subject: | Re: Consistent face for keys in *Help* and `substitute-command-keys' |
Date: | Wed, 24 Feb 2021 19:09:55 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes: > "Basil L. Contovounesios" <contovob@tcd.ie> writes: >> >>> + (replace-match (propertize >>> + (key-description >>> + (substring (this-command-keys) 0 -1)) >>> + 'font-lock-face 'help-key-binding >>> + 'face 'help-key-binding) >> >> Why not use help--key-description-fontified here? > > Using it would introduce a circular dependency between help-macro.el and > help.el. How would it do that given that neither make-help-screen nor the defun it expands to is used within help-macro.el? -- Basil
[Prev in Thread] | Current Thread | [Next in Thread] |