diff options
| author | Pengji Zhang | 2025-03-29 19:04:58 +0800 |
|---|---|---|
| committer | Eli Zaretskii | 2025-04-13 11:43:33 +0300 |
| commit | 6f494d74f645d6cffd98e168721a0347de271a54 (patch) | |
| tree | 9a41a69b3fdbc74029dc4382f092bde7bebadd67 /exec/exec.c | |
| parent | e82989757f42e95bf72a2a55de415a8162a55dc3 (diff) | |
| download | emacs-6f494d74f645d6cffd98e168721a0347de271a54.tar.gz emacs-6f494d74f645d6cffd98e168721a0347de271a54.zip | |
New user option to hide minor mode lighters (bug#77361)
* lisp/bindings.el (mode-line-collapse-minor-modes): New user
option.
(mode-line-minor-modes): New variable to hold mode line
constructs for minor modes.
(mode-line--make-lighter-menu): New helper function to generate
the menu for hidden minor modes.
(mode-line--minor-modes): New helper function to computer mode
line constructs for minor mode lighters.
(mode-line-modes): Use the new variable 'mode-line-minor-modes',
and adjust the order of elements so the indicator for hidden
minor modes is shown towards the end.
* doc/lispref/modes.texi (Mode Line Basics): Move the paragraph
for 'mode-line-compact' from here...
* doc/emacs/display.texi (Optional Mode Line): ...to here, and
document the new user option.
* etc/NEWS: Annouce the new user option.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions