[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9034dd0: Fix last change

From: Eli Zaretskii
Subject: master 9034dd0: Fix last change
Date: Wed, 7 Jul 2021 15:54:08 -0400 (EDT)

branch: master
commit 9034dd053163d6fc383d1ea4223c0b4dd7e9fb39
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 9c818d5..a0a47a5 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))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]