[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplification of faces

From: Richard Stallman
Subject: Re: Simplification of faces
Date: Mon, 01 Oct 2007 23:32:48 -0400

    Could you give a simple example of how a current use of `modify-face' would
    be replaced with a call to `face-spec-set' or `defface' in your proposal?

You need to write a function like `modify-face' that constructs a face
spec out of the args, and then calls `face-spec-set'.

If you want it to change only certain attributes and leave the others
unchanged, you would need to call frame-attribute to get the values of
the other attributes, and perhaps put them into the spec you
construct, so as to make sure they won't be altered.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]