[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the entry point of elisp interpreter
From: |
Phillip Lord |
Subject: |
Re: What is the entry point of elisp interpreter |
Date: |
Thu, 23 Mar 2017 14:26:07 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Pankaj Doharey <pankajdoharey@gmail.com> writes:
> Hi Everyone,
>
> I was trying to find the first place in the emacs source code where the elisp
> interpreter executes the first elisp code. As in what is the entry point where
> elisp execution begins. Can someone point me to the file where it begins,
> since the source code is quite huge.
"command_loop" in keyboard.c is probably what you are looking for.
In terms of entry points, emacs.c contains the main method, and it
completes (perhaps in a slightly unintuitive way) with this call.
/* Enter editor command loop. This never returns. */
Frecursive_edit ();
Phil