diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-10 09:43:23 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-10 09:43:23 +0100 |
| commit | e48e4d84068672020efbc435f8090ba4641cc2d6 (patch) | |
| tree | 4a80d745dcbea7e469b03ff8ded343927e979777 /.config/emacs/init.el | |
| parent | 058ed65950ab3473ed870d92246764a131ea14cf (diff) | |
| download | dotfiles-e48e4d84068672020efbc435f8090ba4641cc2d6.tar.gz dotfiles-e48e4d84068672020efbc435f8090ba4641cc2d6.zip | |
emacs: avoid adding Makefile projects
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à <mssola@mssola.com>
Diffstat (limited to '.config/emacs/init.el')
| -rw-r--r-- | .config/emacs/init.el | 7 |
1 files changed, 3 insertions, 4 deletions
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. |
