Commit e0190c4
committed
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 63a6fb2 for a similar
issue with Quick Help.1 parent e087178 commit e0190c4
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2005 | 2005 | | |
2006 | 2006 | | |
2007 | 2007 | | |
2008 | | - | |
2009 | | - | |
| 2008 | + | |
2010 | 2009 | | |
2011 | | - | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
2012 | 2014 | | |
2013 | 2015 | | |
2014 | 2016 | | |
| |||
0 commit comments