(project-mode-line-format): Use it (bug#66317).
** Project
++++
*** New user option 'project-mode-line'.
When non-nil, display the name of the current project on the mode
line. Clicking 'mouse-1' on the project name pops up the project
(define-key map [mode-line down-mouse-1] project-menu-entry)
map))
+(defvar project-mode-line-face nil
+ "Face name to use for the project name on the mode line.")
+
(defvar project-mode-line-format '(:eval (project-mode-line-format)))
(put 'project-mode-line-format 'risky-local-variable t)
" "
(propertize
(project-name project)
+ 'face project-mode-line-face
'mouse-face 'mode-line-highlight
'help-echo "mouse-1: Project menu"
'local-map project-mode-line-map))))