redguardtoo / find-file-in-project

Quick access to project files in Emacs
GNU General Public License v3.0
428 stars 57 forks source link

A sample .dir-locals.el correction #113

Closed tang-junjie closed 5 years ago

tang-junjie commented 6 years ago

Hi,

I think there is a mistake in the sample code of .dir-locals.el where the comment ";; ingnore directory ".tox/" should be ";; Do NOT ignore directory ".tox/ and the comment ";; Do NOT ignore directory "bin/" should be ";; ignore directory "bin/", or leave the comment as it is but swap the delete in the code.

Thanks, Junjie Tang

redguardtoo commented 6 years ago

Thanks I'll have a look

redguardtoo commented 6 years ago

a3d89bc documenation (Chen Bin)

tang-junjie commented 6 years ago

By reference to the sample .dir-locals.el code, I am trying to have ffip to exclude elpa folder and it does not seem to work, not sure what I am doing wrong, here's the code I use, thanks for help!

(setq ffip-prune-patterns `("/elpa/" ,@ffip-prune-patterns))

redguardtoo commented 6 years ago

*/elpa/*, wild cards used by GNU tools.

tang-junjie commented 6 years ago

i've figured it out, it works now, thanks a lot! 👍