Next Previous Up Top Contents Index

2 The COLOR Package

apropos-color-alias-names

Function

Summary

Returns color aliases containing a given string.
Package

color

Signature

apropos-color-alias-names substring => list

Arguments

substring

A string.

Values

list

A list of symbols.

Description

Returns a list of symbols whose symbol-names contain substring and which are defined as aliases in the color-database defining color aliases. By convention these are in the keyword package.
Example

In this example, a color alias is defined for the colorindianred1.apropos-color-alias-names only returns this alias, rather than both the alias and the original color, despite the similarity in the names.
COLOR 8 > (define-color-alias :myindianred1 
                              :indianred1)
(#S(COLOR-ALIAS COLOR :INDIANRED1))

COLOR 9 > (apropos-color-names "INDIANRED1") (:INDIANRED1 :MYINDIANRED1)

COLOR 10 > (apropos-color-alias-names "INDIANRED1") (:MYINDIANRED1)

COLOR 11 >

See also

apropos-color-names
apropos-color-spec-names
get-all-color-names


LispWorks Reference Manual - 15 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker