help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep-at-point


From: Joe Riel
Subject: Re: grep-at-point
Date: Wed, 11 Jan 2017 13:29:23 -0800

On Wed, 11 Jan 2017 13:01:03 -0800 (PST)
Drew Adams <drew.adams@oracle.com> 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.
> 
> Doesn't `M-x grep RET M-n' give you what you want?  If point
> is on a Lisp symbol then `M-n' yanks it as the default value.

It does.  I wasn't aware that grep set a special history list.  Nice.

-- 
Joe Riel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]