emacsorphanage / helm-ag

The silver searcher with helm interface
492 stars 76 forks source link

After edited and saved changes, emacs keep opened all buffers where search occurences were found #246

Closed sandric closed 8 years ago

sandric commented 8 years ago

If you start searching in directory and find occurences in different files. Then you edit results and save (commit) changes - you returns to your start buffer with changes applied, but if you open helm-mini you can see that all files where occurences were also found but where there was no changes are opened.

Expected behavior

To close all buffers that where spawned after search command was entered and edit was called.

Steps to reproduce

Start helm-find-files, enter query, with many found files enter edit-mode, edit some line in one of files, call helm-ag--edit-commit command to save changes, open helm-mini and observe buffer list

syohex commented 8 years ago

I have sent PR at #248. Please check it.

syohex commented 8 years ago

I have fixed at #248 and merge it into master branch. Please check latest version. Thanks for reporting issue.

sandric commented 8 years ago

I already fixed that with little function, but and now I can remove that with your fix, thanks!