1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

New option 'project-mode-line' to show project name on mode line (bug#66317)

* lisp/bindings.el (standard-mode-line-format):
Add '(project-mode-line project-mode-line-format)'.

* lisp/progmodes/project.el (project-mode-line): New user option.
(project-menu-entry, project-mode-line-map): New variables.
(project-mode-line-format): New variable.
(project-mode-line-format): New function.
This commit is contained in:
Juri Linkov 2023-10-09 21:09:03 +03:00
parent 2cdf80bb8f
commit 238292d657
3 changed files with 38 additions and 0 deletions

View file

@ -682,6 +682,7 @@ By default, this shows the information specified by `global-mode-string'.")
'mode-line-buffer-identification
" "
'mode-line-position
'(project-mode-line project-mode-line-format)
'(vc-mode vc-mode)
" "
'mode-line-modes