[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Disable a warning?
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Disable a warning? |
Date: |
12 Aug 2004 16:39:38 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! Could you please be a bit more specific about what you'd
like to accomplish?
Take care,
Jared Davis <address@hidden> writes:
> I'm basically needing to change the way that read works. I will need
> to inject my changes into the top level read-eval-print loop, the
> debug loop, etc. Is there a way to do this without changing read
> itself?
>
> Thanks,
> Jared
>
> Pascal J.Bourguignon wrote:
> > Jared Davis writes:
> >
> >>Is there a way to disable the warning:
> >>
> >> Warning: READ is being redefined.
> > Yes, don't redefine it! The effects of redefining a symbol in
> > COMMON-LISP are unspecified.
> > Instead, use another symbol in one of your own package:
> > (defpackage "EXAMPLE"
> > (:use "COMMON-LISP")
> > (:shadow "READ"))
> > (in-package "EXAMPLE")
> > (defun READ (&optional s)
> > (values 'token))
> >
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah