diff options
| author | Philip Kaludercic | 2024-06-18 10:40:01 +0200 |
|---|---|---|
| committer | Philip Kaludercic | 2024-06-18 11:31:04 +0200 |
| commit | e0190c4fb80182e4436f394213d46fafebc03469 (patch) | |
| tree | 27c6c35545513e38bea9c4c8a24e1515bbf0fdda /java | |
| parent | e0871780ac44336a30e76abb91459cf5d0e5e6e2 (diff) | |
| download | emacs-e0190c4fb80182e4436f394213d46fafebc03469.tar.gz emacs-e0190c4fb80182e4436f394213d46fafebc03469.zip | |
Prevent which-key faces from over-extending during formatting
* lisp/which-key.el (which-key--pad-column): Instead of
injecting the description using a left-aligned format-string (%-[n]s),
we manually add the necessary padding so that the text
properties don't extend beyond the description. This allows us
to use a face with a background without it extending until the
end of a column.
See also 63a6fb2a7a02ca88835c3fd473894d3b7d39ff15 for a similar
issue with Quick Help.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions