emacs-devel
[Top][All Lists]
Advanced

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

Re: Dynamic loading progress


From: Ted Zlatanov
Subject: Re: Dynamic loading progress
Date: Wed, 11 Feb 2015 10:36:16 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

On Tue, 10 Feb 2015 20:45:03 -0500 Stefan Monnier <address@hidden> wrote: 

SM> I was thinking of making emacs.h a "real file" which would contain
SM> a subset of the current lisp.h and then lisp.h would #include it.

On Wed, 11 Feb 2015 05:26:12 -0800 Paul Eggert <address@hidden> wrote: 
PE> you start your module this way:

PE> #define EMACS_MODULE
PE> #include <lisp.h>

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

I'd love to see emacs.h become a real API for modules.  But `#define 
EMACS_MODULE'
is a good idea regardless, for cleanliness.  I would even define it to
be "1.0" to indicate module version 1 (the initial).

Ted




reply via email to

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