| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: cg-stream
Returns the package in which unqualified symbols will be read from and
printed to in cg-stream, which should be a
cg-stream
.
An application may call (setf stream-package) to declare what
the package of a cg-stream
is. Then whenever
certain Common Graphics functions are called that may do a Lisp read
on a string that is associated with the cg-stream (or a Lisp write on
an arbitrary Lisp object), then *package*
will be bound to the stream-package of the
stream at that time.
In particular, some methods of selected-symbol and selected-form use the
stream-package
when reading from strings, and the paste-selection method for text-edit-pane
uses it
when printing Lisp objects. Other exported Common Graphics functions
may call these functions, and the IDE does as well.
The value passed to (setf stream-package) may be either a
package object, a package name, or nil
to
indicate no associated package. When nil
, no
rebinding of *package*
is done. The default
stream-package is
nil
.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |