emacs: refactor ag recipe.

Move inside after init hook my-ag-kill-buffers function.