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

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

Re: META-x grep question


From: Michael Slass
Subject: Re: META-x grep question
Date: Wed, 21 Apr 2004 21:53:34 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

FCC <address@hidden> writes:

>>>
>> Thanks ! That works !
>> Do you know if one could put it in the .emacs file instead ??
>> BR
>> Brian
>I have in my _emacs file a section called custom-set variables, and
>there I have many entries along with:
>
>'(grep-command "grep --regexp=\"\\B!.*\" --only-matching --no-filename
>FNAME.f90")
>
>which basically displays all the comments in file FNAME.f90. You can
>edit anything inside "".


It's not a good idea to advise novices to edit their
custom-set-variables directly.  Much better to make the changes
within the customize buffer, and then click the button labled
"Save for Future Sessions".  That will update the custom-set-variables
section of your .emacs file.

-- 
Mike Slass


reply via email to

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