-
-
Notifications
You must be signed in to change notification settings - Fork 592
Closed
Description
According to the documentation of variable projectile-require-project-root, we have :
When nil Projectile will consider the current directory the project root.
We interpret : "will work anywhere as if it were in a project by making the current directory the project root if necessary".
So we set :
(setq projectile-require-project-root nil)And we try projectile-grep in the home directory.
Expected behavior
To work by providing a grep buffer.
Actual behavior
Does not produce anything, produces following error :
abbreviate-file-name: Wrong type argument: stringp, nil
Steps to reproduce the problem
(setq projectile-require-project-root nil)And (projectile-grep) in the home directory (any directory that is not a project, in fact) (projectile-ag fails as well FYI).
Environment & Version information
Projectile version information
Projectile 20210225.1816
Emacs version
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2020-11-08, modified by Debian
Operating system
Debian Testing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels