From ...
From: Erik Naggum
Subject: Re: Overwriting Functions/Macros?
Date: 1998/03/31
Message-ID: <3100365962143706@naggum.no>#1/1
X-Deja-AN: 339574531
References: <6frjfr$bds$1@Masala.CC.UH.EDU>
mail-copies-to: never
Organization: Naggum Software; +47 8800 8879; http://www.naggum.no
Newsgroups: comp.lang.lisp
* wanker@exploited.barmy.army
| Hi all,
|
| I would like to reimplement a built in macro and have my new
| implementation call the old one. For example, given macro x
| I would like to do something like:
|
| (defmacro x
| `(... call-old-x ...))
(defmacro wanker::x
... (whatever:x ...) ...)
in other words, use the package system, shadow the symbol whose meaning
you want to change, and be explicit about the package of the original.
or use advice, if your implementation offers them.
#:Erik
--
religious cult update in light of new scientific discoveries:
"when we cannot go to the comet, the comet must come to us."