From e48e4d84068672020efbc435f8090ba4641cc2d6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 10 Feb 2026 09:43:23 +0100 Subject: emacs: avoid adding Makefile projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In projects like Linux this turns out to be troublesome as each subsystem has its own Makefile and then tools like ripgrep narrow down their focus too much when trying to perform Linux-wide searches. Signed-off-by: Miquel Sabaté Solà --- .config/emacs/init.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/emacs/init.el b/.config/emacs/init.el index d0afd84..455685c 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -465,10 +465,9 @@ ;; Extra configuration for project.el. (with-eval-after-load 'project - ;; If a directory has a Makefile, chances are that it's its own project. Also - ;; add a ".project" file which can be added as a last resource (i.e. just like - ;; with ".projectile"). - (setq project-vc-extra-root-markers '("Makefile" ".project"))) + ;; If a directory has a ".project" file load it as well (i.e. just like with + ;; ".projectile"). + (setq project-vc-extra-root-markers '(".project"))) ;; I mostly stick to Git CLI, but it's really nice when staging chunks, checking ;; diffs, showing logs; and similar scenarios where Git can be tedious. -- cgit v1.2.3