[Top][All Lists]

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

Re: question

From: Stefan Monnier
Subject: Re: question
Date: 08 Mar 2002 12:40:58 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

>>>>> "Barry" == Barry Margolin <address@hidden> writes:
> (defmacro defconstant (symbol init &optional doc)
>   `(defvar ,symbol ,init ,@(and doc (list doc))))

Or (defalias 'defconstant 'defconst)

> This will define the variable, but it won't make it constant like it would
> be in CL.

Actually, I have a simple patch that makes `defconst' into real
constants (i.e. read-only).  Sadly it breaks a fair amount of code.


reply via email to

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