]> git.eshelyaron.com Git - emacs.git/commit
Add an intermediary face for mode lines: `mode-line-active'
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Nov 2021 13:17:10 +0000 (14:17 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 26 Nov 2021 13:19:24 +0000 (14:19 +0100)
commit3f843b25dc96867043feebb1d928bde4a7a777a3
tree8570a05d137e92966e755fb43006ebc9cc9d6272
parent5d6e1c749a669d33db2936b106ae41ce59473ea1
Add an intermediary face for mode lines: `mode-line-active'

* doc/emacs/display.texi (Standard Faces): Document the new face.

* lisp/faces.el (mode-line-active): New face.
(mode-line): Don't inherit from vaiable-pitch.

* src/xfaces.c (lookup_basic_face, realize_basic_faces)
(syms_of_xfaces):
* src/xdisp.c (window_box_height, window_text_pixel_size)
(display_mode_lines, Fformat_mode_line):
* src/dispextern.h (CURRENT_MODE_LINE_ACTIVE_FACE_ID_3)
(CURRENT_MODE_LINE_ACTIVE_FACE_ID, enum face_id): Rename from
*MODE_LINE_FACE_ID to *MODE_LINE_ACTIVE_FACE_ID.
doc/emacs/display.texi
etc/NEWS
lisp/faces.el
src/dispextern.h
src/xdisp.c
src/xfaces.c