From 28b61ff95a241e10fd20c3f89417125ecc191713 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 24 Feb 2025 14:04:41 -0500 Subject: [PATCH] Show the project on the mode line in emacs. --- ansible/roles/emacs/files/elisp/base-extensions.el | 1 + ansible/roles/emacs/files/elisp/base.el | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ansible/roles/emacs/files/elisp/base-extensions.el b/ansible/roles/emacs/files/elisp/base-extensions.el index 3d8927b..831bbfc 100644 --- a/ansible/roles/emacs/files/elisp/base-extensions.el +++ b/ansible/roles/emacs/files/elisp/base-extensions.el @@ -56,6 +56,7 @@ (savehist-mode)) (use-package which-key + :pin gnu :diminish :config (which-key-mode)) diff --git a/ansible/roles/emacs/files/elisp/base.el b/ansible/roles/emacs/files/elisp/base.el index 45a0dac..00b3c85 100644 --- a/ansible/roles/emacs/files/elisp/base.el +++ b/ansible/roles/emacs/files/elisp/base.el @@ -63,6 +63,9 @@ show-trailing-whitespace t ;; Remove the line when killing it with ctrl-k kill-whole-line t + + ;; Show the current project in the mode line + project-mode-line t ) ;; (setq-default fringes-outside-margins t)