bling / fzf.el

A front-end for fzf
GNU General Public License v3.0
364 stars 49 forks source link

Fix fzf-git-files works fine in eshell buffer.(#35) #36

Closed tttuuu888 closed 6 years ago

tttuuu888 commented 6 years ago

The code for creating new buffer is wrapped by 'with-temp-buffer' to make modified process-environment variable respected.

35 will be fixed with this commit.

First of all this is to fix fzf-git-files not working in eshell buffer but this is worth when we keep extending the package using 'FZF_DEFAULT_COMMAND'. (Otherwise any new function using 'FZF_DEFAULT_COMMAND' will not work fine in eshell buffer.)

Any other approach is still welcomed. Thanks.

tttuuu888 commented 6 years ago

I found better solution and asked another pull request.