Subject: Re: grep-at-point
If you are open to installing the ag utility (
) and installing the counsel
package (available in GNU Elpa), you can use counsel-ag.
Below I am using counsel-ag to search for all instances of the symbol under
point 'ag-arguments' in the current directory.
> On Wed, Jan 11, 2017 at 5:48 PM, Joe Riel <[email protected]> wrote:
> > Before writing one, is there an elisp function
> > that returns a buffer of links to file locations
> > where the elisp symbol at point is used?
> > I'm only concerned with the files in the current directory.
> > Am currently using M-x grep. Maybe all I really need
> > is a grep-at-point function, which greps for the symbol at point.