all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#50785: 28.0.50; error doesn't use help-key-binding face from substitute-command-keys
@ 2021-09-24 18:33 Stefan Kangas
  2021-09-25  2:03 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2021-09-24 18:33 UTC (permalink / raw)
  To: 50785

Severity: minor

In "emacs -Q", if I use the following function:

(defun foo ()
  (interactive)
  (error (substitute-command-keys "Use \\[next-line]")))

The error message says "Use C-n", but "C-n" is not displayed with the
`help-key-binding' face.

In contrast, `message' does not have this problem:

(defun foo2 ()
  (interactive)
  (message (substitute-command-keys "Use \\[next-line]")))

Here, "C-n" is displayed with the correct face.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-30 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-24 18:33 bug#50785: 28.0.50; error doesn't use help-key-binding face from substitute-command-keys Stefan Kangas
2021-09-25  2:03 ` Lars Ingebrigtsen
2022-08-29 16:29   ` Lars Ingebrigtsen
2022-08-29 17:32     ` Stefan Kangas
2022-08-30 10:25       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.