Did you notice that after defining a synopsis, there is actually never any explicit reference to it anymore? So where is the magick? In fact, there’s no magick at all involved here.
Clon
has a global variable named *synopsis*
which holds the
current synopsis. When you define/create a synopsis with either
defsynopsis
or make-synopsis
, it is automatically made the
default one, unless you use the :make-default
option/initarg with
a value of nil
, like this:
(defsynopsis (:make-default nil) ...)
or this:
(make-synopsis :make-default nil ...)
When you create a context with make-context
, the default synopsis
is used implicitely, but you have two ways to avoid this.