project-roots is obsolete.

This commit is contained in:
Vincent Zhang 2021-08-21 17:17:25 +08:00
parent ffb9e38828
commit f5a994a52c

View file

@ -1190,7 +1190,7 @@ Return nil if no project was found."
('project
(when (fboundp 'project-current)
(when-let ((project (project-current)))
(car (project-roots project)))))))))
(expand-file-name (cdr project)))))))))
(defun doom-modeline-project-p ()
"Check if the file is in a project."