Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## color-for-external-cg-symbols

Returns the color that is used by colorize-source-code for symbols that are external in the cg and ide packages, or `nil` to avoid colorizing these symbols at all. This color may be useful for warning when you have mistyped a Common Graphics symbol, or to remind you that a particular function is a Common Graphics function rather than one of your own.

The colorization is based only on the symbol's package and external status, and will occur even where the symbol is not being used as the function or variable for which it is exported.

The value may be set by calling (setf color-for-external-cg-symbols). The value should be an RGB color, as created with make-rgb, or `nil`. This option also appears on the Editor Color tab on the Options dialog.

### Example

    (setf (color-for-external-cg-symbols (configuration *system*))
          (make-rgb :red 0 :green 120 :blue 160))

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.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version