all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
[parent not found: <mailman.1658.1191397285.18990.help-gnu-emacs@gnu.org>]
[parent not found: <mailman.1599.1191333917.18990.help-gnu-emacs@gnu.org>]
* how to save a face in Lisp?
@ 2007-09-30 23:35 Drew Adams
  0 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2007-09-30 23:35 UTC (permalink / raw)
  To: Help-Gnu-Emacs

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)?

For a variable, it's enough to call `customize-save-variable', but I don't
know the equivalent for faces. Perhaps it would be enough to `put' the spec
as property `saved-face' for the face? Or as property `defface-spec'? I'm
not sure how this stuff works.

[Obviously, this code would only be invoked by the user, aware that s?he was
saving the changed face. I would not save settings behind the user's back.]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-03 14:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1515.1191195346.18990.help-gnu-emacs@gnu.org>
2007-10-02  4:17 ` how to save a face in Lisp? Steven L.
2007-10-02 14:04   ` Drew Adams
     [not found] <mailman.1658.1191397285.18990.help-gnu-emacs@gnu.org>
2007-10-03  9:12 ` Johan Bockgård
2007-10-03 14:55   ` Drew Adams
     [not found] <mailman.1599.1191333917.18990.help-gnu-emacs@gnu.org>
2007-10-03  4:24 ` Steven L.
2007-10-03  7:41   ` Drew Adams
2007-09-30 23:35 Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.