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

Re: upper and lower case code



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