All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

set-editor-parenthesis-colors

Function
Summary

Sets the colors that are used for parenthesis coloring.

Signature

set-editor-parenthesis-colors colors

Arguments

colors

A list of colors, t or nil .

Description

The function set-editor-parenthesis-colors sets the colors that are used for parenthesis coloring in an editor-pane in Lisp mode.

If colors is a non-nil list, each of its elements must be a valid color specification or a defined color alias. See "The Color System" in the CAPI User Guide for information about colors.

If it is called when CAPI is running, set-editor-parenthesis-colors checks that the colors are valid. If it is called when CAPI is not running, set-editor-parenthesis-colors does not check the colors, and a bad color will cause an error later. The colors have an effect only on coloring that happens after the call.

If colors is t or nil , parenthesis coloring is switched on or off, without changing the list of colors.

When parenthesis coloring is off, parentheses are drawn like other characters.

See also

editor-pane


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex