diff options
| author | Eli Zaretskii | 2023-04-19 20:46:40 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-04-19 20:46:40 +0300 |
| commit | 9ac12592781934bcd934bc0cae71a637311119ec (patch) | |
| tree | fe6fdfd30517f194a3e8f780be85868d10eb33f0 /exec/exec.c | |
| parent | ecdd3a9efac3e56850ce10260747c158865f9378 (diff) | |
| download | emacs-9ac12592781934bcd934bc0cae71a637311119ec.tar.gz emacs-9ac12592781934bcd934bc0cae71a637311119ec.zip | |
Fix display of menu-bar bindings of commands in *Help* buffers
* lisp/help-fns.el (help-fns--insert-menu-bindings): Propertize
with 'help-key-binding' face only the menu items, not the arrows
between successive items. This is because 'char-displayable-p' is
unreliable when we propertize the character with an arbitrary
face: that face could specify a font which doesn't support the
character after all, while 'char-displayable-p' assumes there are
no restrictions on fonts that can be used for displaying the
character. Also, make the code more efficient by avoiding the
call to 'char-displayable-p' inside the loop.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions