dajva / rg.el

Emacs search tool based on ripgrep
https://rgel.readthedocs.io
GNU General Public License v3.0
474 stars 39 forks source link

Handle case where project.el detects no project #70

Closed raxod502 closed 4 years ago

raxod502 commented 4 years ago

Previously if Projectile and find-file-in-project both failed, then rg.el was assuming that (project-current) would return a valid project. But if project.el can't find a project, then it'll return nil, which will cause an error when passed to project-roots.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.1%) to 83.449% when pulling 60f8d569cc85f8618100a5bc7a8517b5e0c4c395 on raxod502:feat/handle-no-project into 2dc9c274fb901370fc31345f96ab42ba10033e18 on dajva:develop.

dajva commented 4 years ago

Thanks a lot.