|
From: | Juri Linkov |
Subject: | bug#63469: 29.0.90; project.el doesn't add menu-bar entries |
Date: | Fri, 19 May 2023 20:46:55 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> +(define-minor-mode project-mode >> + "Toggle display of project menu in the project-aware buffers." >> + :lighter " Pro" >> + :keymap (define-keymap "<menu-bar>" project-mode-menu)) > > If this mode is only for showing the menu, then at least the mode's > name should reflect that. It can be used for anything. For example, to display the project name on the mode-line. (Then better to cache the project name in a new buffer-local variable.)
[Prev in Thread] | Current Thread | [Next in Thread] |