Subject: bug#17888: 24.4.50; key binding not shown in menu item for alias command

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 20 Jan 2021 03:06:07 +0100

Drew Adams <[email-masked]> writes:

> (defun foo () (interactive)(message "Foo"))
> (global-set-key "\C-o" 'foo)
>
> (defalias 'bar 'foo)
> (define-key menu-bar-edit-menu [bar] '(menu-item "Do It" bar))
>
> In the Edit menu, the key `C-o' is not shown next to item `Do It'.

Is it supposed to?  I'm not sure whether that would be surprising or
not.  Does anybody have an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no