logo       

Re: where is a function defined: msg#00983

emacs.help

Subject: Re: where is a function defined

In article <yq0cvg1aue1e.fsf@xxxxxxxxxxxxxxxxxxxx>,
Z. Huang <zghuang@xxxxxxxxxxxxx> wrote:
>"Alfred M. Szmidt" <ams@xxxxxxxxxxx> writes:
>
>> load-path seems to be not I wanted. I have to go to each of the
>> directories to find a symbol that I need. Is there any simpler way
>> to find the definition of a function?
>>
>> Maybe I misunderstood the question, but what is wrong with using `C-h
>> C-f' (describe-function)?
>>
>>
> I need to find the lisp code for a function, not only the
>description. Thanks for the response anyway.

describe-function's output tells you which file contains the function
definition, e.g.:

do-auto-fill is a compiled Lisp function in `simple'.

This tells you to look in simple.el.

--
Barry Margolin, barmar@xxxxxxxxxxx
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise