help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Swap two faces


From: Emanuel Berg
Subject: Re: Swap two faces
Date: Wed, 17 Jul 2013 09:45:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Mr. Távora <joaotavora@gmail.com> writes:

> Does anyone know a good way to swap the attribute values of two
> Emacs faces?

Check out this function:

(copy-face OLD-FACE NEW-FACE &optional FRAME NEW-FRAME)

Perhaps you need a temporary face to make the switch, as well.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


reply via email to

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