Subject: bug#69566: Context menu for project

From: Dmitry Gutov <[email-masked]>
Date: Sat, 9 Mar 2024 01:00:20 +0200

On 09/03/2024 00:57, Dmitry Gutov wrote:
> On 05/03/2024 18:54, Juri Linkov wrote:
>> +  (define-key-after menu [project-menu] (bound-and-true-p 
>> project-menu-entry))
> 
> This variable will probably always be bound (and likely non-nil), given 
> than mouse.el is never distributed separately or used with older 
> versions of Emacs.

Ah, I guess you might be handling the case when project is not loaded 
yet. Perhaps we should autoload something, so that its commands are in 
the context menu anyway?

You could even copy the variable's definition to mouse.el, if that's easier.