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

## color-for-comments

Arguments: cg-configuration

Returns the color that is used by colorize-source-code for comments (including block comments), or `nil` to avoid colorizing comments at all. This is probably the most useful type of source code colorization, to visually offset comments from actual code. Options for other types of colorization could be set to `nil` if they result in too much overall color.

The value may be set by calling (setf color-for-comments). 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-comments (configuration *system*))
          (make-rgb :red 0 :green 120 :blue 160))

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version