branch: externals/transient commit 823f24a4901c78f9e45138991c7a2137b7c98e88 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
transient-higher-level: Use face-attribute on default Previously we queried the selected frame, which doesn't make sense and leads to an error when `transient' is loaded before the first frame is created. Closes #359. --- lisp/transient.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/transient.el b/lisp/transient.el index cc468511b9..517b6c36cb 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -594,7 +594,7 @@ See info node `(transient)Enabling and Disabling Suffixes'." (defface transient-higher-level `((t :box ( :line-width ,(if (>= emacs-major-version 28) (cons -1 -1) -1) - :color ,(let ((color (face-attribute 'shadow :foreground nil t))) + :color ,(let ((color (face-attribute 'shadow :foreground t t))) (or (and (not (eq color 'unspecified)) color) "grey60"))))) "Face optionally used to highlight suffixes on higher levels.