projectile: project-find-file should not follow symlinks #7781
Labels
is:feature
Adds or requests new features, or extends existing ones
module:core
Relevant to Doom core
Milestone
I confirm that...
I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.
I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.
The issue can be reproduced on the latest available commit of Doom.
The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)
Expected behavior
When I run
project-find-file
, it should show available symlinks inside the project but not follow them and list content under the followed path.Current behavior
Symlinks are followed. Hard-coded here:
doomemacs/lisp/doom-projects.el
Line 196 in 5f5a163
Removing
--follow
here fixes the issue but that's not trivially possible from user config.Steps to reproduce
result
symlinks with Nix)project-find-file
System Information
https://pastebin.com/z6czCYHp
The text was updated successfully, but these errors were encountered: