[Top][All Lists]

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

Re: question

From: Kevin Rodgers
Subject: Re: question
Date: Fri, 08 Mar 2002 10:01:04 -0700

Yiu-Pun Wong wrote:
> I am a beginner of Emacs. I have a question about the
> useage of the function "defconstant" in CommonLisp. I
> downloaded and installed
> Emacs 21.4.6 in my computer. I wrote a small program
> in which I used
> the function "defconstant". However, it didn't work.
> The message of
> debug said that "defconstant" is not defined. Do you
> know how to
> solve this problem? Thank you so much for your help!

Emacs Lisp is not Common Lisp.  If you are writing Common Lisp code,
defconstant is correct; if you are writing Emacs Lisp code, it is
defconst, unless you want to use the Common Lisp compatibility package:

(require 'cl)

Kevin Rodgers <address@hidden>

reply via email to

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