bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11148: 23.3; x-popup-menu not behaving as documented


From: Andreas Schwab
Subject: bug#11148: 23.3; x-popup-menu not behaving as documented
Date: Sun, 01 Apr 2012 18:28:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

"Dino Chiesa" <dpchiesa@hotmail.com> writes:

> if the binding on a menu item is nil, then the mnenu item is
> unselectable.
>
> But this elisp code: 
>
>     (x-popup-menu t (list "TITLE" (list
>                                 "PANE"  
>                                 (list "menu item 1" nil)
>                                 (list "menu item 2" nil))))

That menu is not a keymap, so the alternative representation is
selected, where unselectable items are represented by strings, not
conses.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]