From: Eli Zaretskii Date: Wed, 7 Jul 2021 19:36:27 +0000 (+0300) Subject: Fix tty menus on monochrome displays X-Git-Tag: emacs-28.0.90~1934 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d594848e052b1e627479ee1068e147a6aaf1c70;p=emacs.git Fix tty menus on monochrome displays * lisp/faces.el (tty-menu-selected-face): Make sure the selected menu item stands out even without colors. --- diff --git a/lisp/faces.el b/lisp/faces.el index 308da9367d5..9c818d51366 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -2927,9 +2927,12 @@ It is used for characters of no fonts too." :group 'basic-faces) (defface tty-menu-selected-face - '((t :background "red")) + '((((class color)) + :background "red") + (t :inverse-video t)) "Face for displaying the currently selected item in TTY menus." - :group 'basic-faces) + :group 'basic-faces + :version "28.1") (defgroup paren-showing-faces nil "Faces used to highlight paren matches."