[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swap two faces
From: |
João Távora |
Subject: |
Re: Swap two faces |
Date: |
Thu, 18 Jul 2013 21:53:57 +0100 |
Thanks,
I'll try it out. According to the docstring though, it seems this
function shouldn't won't swap the customization options.
But maybe combined with my plist-swapping code it will,
I'll try it out.
Bye,
Joao
On Wed, Jul 17, 2013 at 8:45 AM, Emanuel Berg <embe8573@student.uu.se> wrote:
> 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
--
João Távora