LispWorks IDE User Guide > 13 The Editor > 13.13 Using Lisp-specific commands > 13.13.8 Packages

NextPrevUpTopContentsIndex The primary package

Each buffer has a package associated with it, known as the primary package. This is set when the buffer is created, and is displayed in the message area at the bottom of the Editor window. The primary package provides a default, used when the current package cannot be determined by other means.

If the buffer is created by opening a file containing an in-package form, that package is the primary package. If there are multiple in-package forms, the primary package is taken from the first of these forms. If there is no in-package form, the primary package is CL-USER .

You can set the primary package if needed with the editor command Set Buffer Package . See the LispWorks Editor User Guide for details.

LispWorks IDE User Guide (Macintosh version) - 22 Dec 2009