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

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

bug#50552: 28.0.50; Add context-menu-occur


From: Juri Linkov
Subject: bug#50552: 28.0.50; Add context-menu-occur
Date: Sat, 02 Oct 2021 22:29:18 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> Why not use the new custom-add-choice function (or something along these
>> lines) in dictionary.el?
>
> I tried this:
>
>   (custom-add-choice 'context-menu-functions
>                      '(function-item :tag "Dictionary menu" 
> context-menu-dictionary))
>
> But it fails with the error:
>
>   (error "Not a choice type: (repeat (choice (function-item ...")

Maybe it makes sense to implement a new function 'custom-add-repeat-choice'
that is like 'custom-add-choice' but appends to the choices inside 'repeat'?





reply via email to

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