PROJECTILE: install project.el hooks

Some packages use the project.el functions/bindings (like
consult, ...) for their functionality. Install the projectile bindings
so that they start using the projectile framework.
This commit is contained in:
Laurens Miers 2024-09-12 12:38:50 +02:00
parent 22a827592d
commit df5d034907

View file

@ -369,7 +369,10 @@ https://github.com/remyferre/comment-dwim-2
(setq projectile-enable-caching t) (setq projectile-enable-caching t)
(define-key projectile-mode-map (kbd "C-x p") 'projectile-command-map) (define-key projectile-mode-map (kbd "C-x p") 'projectile-command-map)
(projectile-mode +1) (projectile-mode +1)
(require 'project)
(add-hook 'project-find-functions #'project-projectile)
) )
#+END_SRC
* Custom * Custom