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

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

RE: how to save a face in Lisp?


From: Drew Adams
Subject: RE: how to save a face in Lisp?
Date: Tue, 2 Oct 2007 07:04:46 -0700

> > In Lisp, how can I save a face to the user's custom-file after
> > it has been changed (or to cause it to be saved when Emacs is quit)?
>
> The function custom-set-faces works for me.

It requires the face's SPEC also as input:

  "The arguments should be a list where each entry has the form:
    (FACE SPEC [NOW [COMMENT]])
   SPEC is stored as the saved value for FACE..."

I'm looking for something that takes just the face as arg and saves it. IOW,
I don't want to define the face; I just want to save it.





reply via email to

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