[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50785: 28.0.50; error doesn't use help-key-binding face from substit
From: |
Stefan Kangas |
Subject: |
bug#50785: 28.0.50; error doesn't use help-key-binding face from substitute-command-keys |
Date: |
Fri, 24 Sep 2021 11:33:35 -0700 |
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.
- bug#50785: 28.0.50; error doesn't use help-key-binding face from substitute-command-keys,
Stefan Kangas <=