After doing a helm-ag search there is an option to 'save results in buffer'. My issue is that the result buffer disappears if another buffer or file is opened.

Is there some way to prevent the buffer from disappearing? Or is there some generic way of saving a buffer to the buffer list?

Note that saving the buffer to a file is not an option for me, nor is using helm-resume (in stead of the buffer).


To anyone who might have the same issue, I found a solution: M-x rename-buffer.

After the buffer has been given a new name it becomes persistent


For a more persistent solution, you can customize the variable


and remove the regexes you want so the Helm result buffers stays in your buffer list

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.