All Manuals > CAPI User Guide and Reference Manual > 21 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 for information about color specifications and aliases.

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 User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex