[Top][All Lists]

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

Re: Dynamic loading progress

From: Paul Eggert
Subject: Re: Dynamic loading progress
Date: Wed, 11 Feb 2015 05:26:12 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Aurélien Aptel wrote:

disabling it for modules might be a solution?

Yes, that's the idea. A kludgey way to do that right now is to have your module do this:

#include <lisp.h>
#undef Qfoo
#undef Qbar

with an #undef for every Qfoo symbol your code uses either directly or indirectly via macros or inline functions. Obviously we need something better than that, namely, we modify make-docfile.c so that instead of generating this:

#define Qfoo builtin_lisp_symbol (iQfoo)

it generates this:

# define Qfoo builtin_lisp_symbol (iQfoo)

(and similarly for Qbar, etc.), and then you start your module this way:

#include <lisp.h>

or better, we package up an <emacs.h> file the way Stefan suggested.

reply via email to

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