[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: upper and lower case code
- To: clisp-list <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>
- Subject: Re: upper and lower case code
- From: haible@ilog.fr (Bruno Haible)
- Date: Wed, 10 Apr 96 15:23:59 +0200
- In-reply-to: <9604100012.AA17272@shakey>
- References: <9604100012.AA17272@shakey>
Dan Stanger writes:
> for example
> (f 'And 'Holdall)
> clisp seems to upcase it. it works correctly if i enclose it in bars.
> (f '|And| '|Holdall|)
> is there a way to have clisp recognize the case of symbols?
(setf (readtable-case *readtable*) :preserve)
But beware: To get back to the old state, you have to write
(SETF (READTABLE-CASE *READTABLE*) :UPCASE)
Bruno