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

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

Re: One more question about elisp


From: tomas
Subject: Re: One more question about elisp
Date: Sun, 8 Nov 2009 18:06:54 +0100
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Nov 08, 2009 at 04:17:02PM +0100, Francis Moreau wrote:
> tomas@tuxteam.de writes:
> 
> [...]
> 
> >
> > You have been pointed to "defstruct" already. From it info page:
> 
> I realized this is not part of elips but clisp, that's why I missed it.

Ah, I see. Indeed, defstruct belongs to "cl-macs.el", an add on (as
Pascal pointed out elsewhere in this thread, the cl stands for "Common
Lisp", that's where this feature has been taken from).

> The weird thing (for now) is that "defstruct" is not very used in the
> source code of emacs.

Right. This might be confusing for you. As a matter of policy, it has
been decided that core Emacs packages don't rely on "cl.el". OTOH,
"cl-macs.el" is considered OK, because it's just needed at compile time.

But when writing your own programs, you are free, of course :-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFK9vquBcgs9XrR2kYRAj0HAJkB9zrQ1PuY+XLVdEfT6lrfbq8y5wCbB2ZQ
hhm7qs272eAxF85SOoNisVU=
=gzS4
-----END PGP SIGNATURE-----




reply via email to

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