[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17888: 24.4.50; key binding not shown in menu item for alias command
From: |
Lars Ingebrigtsen |
Subject: |
bug#17888: 24.4.50; key binding not shown in menu item for alias command |
Date: |
Wed, 20 Jan 2021 03:06:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> 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
- bug#17888: 24.4.50; key binding not shown in menu item for alias command,
Lars Ingebrigtsen <=