[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36156: [PATCH] Make toolbar show keyboard equivalents in its tooltip
From: |
Eli Zaretskii |
Subject: |
bug#36156: [PATCH] Make toolbar show keyboard equivalents in its tooltips |
Date: |
Mon, 10 Jun 2019 19:54:47 +0300 |
> From: Stefan Kangas <stefan@marxist.se>
> Date: Mon, 10 Jun 2019 05:30:20 +0200
> Cc: 36156@debbugs.gnu.org
>
> + Lisp_Object binding = PROP (TOOL_BAR_ITEM_BINDING);
> + Lisp_Object keys = Fwhere_is_internal (binding, Qnil, Qt, Qnil, Qnil);
> + if (!NILP (keys))
> + {
> + AUTO_STRING (beg, " [");
> + AUTO_STRING (end, "]");
This is going to start a bikeshedding, but I'm not sure I like the
[FOO] format. It's different from what we use in menus, for example.
Thanks.