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

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

Re: Emacs C source code


From: Teemu Likonen
Subject: Re: Emacs C source code
Date: Wed, 01 Aug 2012 09:56:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Teemu Likonen [2012-07-31 19:47:31 +0300] wrote:

> Teemu Likonen [2012-07-31 19:27:54 +0300] wrote:
>> If you compile Emacs from its source code and leave the source code
>> directory intact then the Emacs runtime will find function and
>> variable definitions from the C source too.
>
> I found it. It's variable find-function-C-source-directory and it
> should point to the src subdirectory of Emacs code tree.

So, you could download the source code

    $ mkdir -p /home/drain/some/good/place
    $ cd /home/drain/some/good/place
    $ apt-get source emacs23

and add a line like this to your Emacs init file:

    (setq find-function-C-source-directory
          "/home/drain/some/good/place/emacs23-23.2+1/src")

Done.



reply via email to

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