1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-28 19:42:02 +00:00

Fix tty menus on monochrome displays

* lisp/faces.el (tty-menu-selected-face): Make sure the selected
menu item stands out even without colors.
This commit is contained in:
Eli Zaretskii 2021-07-07 22:36:27 +03:00
parent d35868bec9
commit 6d594848e0

View File

@ -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."