From 9034dd053163d6fc383d1ea4223c0b4dd7e9fb39 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 7 Jul 2021 22:53:28 +0300 Subject: [PATCH] Fix last change * lisp/faces.el (tty-menu-enabled-face, tty-menu-disabled-face): Define for monochrome displays. --- lisp/faces.el | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lisp/faces.el b/lisp/faces.el index 9c818d51366..a0a47a5cacf 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2913,18 +2913,22 @@ It is used for characters of no fonts too." ;; Faces for TTY menus. (defface tty-menu-enabled-face - '((t - :foreground "yellow" :background "blue" :weight bold)) + '((((class color)) + :foreground "yellow" :background "blue" :weight bold) + t :weight bold) "Face for displaying enabled items in TTY menus." - :group 'basic-faces) + :group 'basic-faces + :version "28.1") (defface tty-menu-disabled-face '((((class color) (min-colors 16)) :foreground "lightgray" :background "blue") - (t - :foreground "white" :background "blue")) + (((class color)) + :foreground "white" :background "blue") + t :inherit shadow) "Face for displaying disabled items in TTY menus." - :group 'basic-faces) + :group 'basic-faces + :version "28.1") (defface tty-menu-selected-face '((((class color)) -- 2.39.2