[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Working with constansts
From: |
Pascal J. Bourguignon |
Subject: |
Re: Working with constansts |
Date: |
Sun, 10 May 2009 18:19:52 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) |
Decebal <CLDWesterhof@gmail.com> writes:
> I would like to work with constants in my elisp code. I thought that I
> could do this with defconst, but that doen not work.
> After:
> (defconst dummy "testing")
> The variable dummy has the value "testing".
> But after:
> (setq dummy "changed")
> The variable dummy has the value "changed".
> What am I doing wrong.
You're still thinking that constants don't change or that variables do.
If you don't want to change the value of a constant, then don't change it.
--
__Pascal Bourguignon__
- Working with constansts, Decebal, 2009/05/10
- RE: Working with constansts, Drew Adams, 2009/05/10
- Re: Working with constansts,
Pascal J. Bourguignon <=
- Message not available
- Re: Working with constansts, Pascal J. Bourguignon, 2009/05/10
- Re: Working with constansts, Richard Riley, 2009/05/10
- Re: Working with constansts, Pascal J. Bourguignon, 2009/05/11
- Re: Working with constansts, Nikolaj Schumacher, 2009/05/12