all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Anast Gramm <anastasis.gramm2@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: remove custom-set-*
Date: Fri, 24 Feb 2017 01:18:32 +0100	[thread overview]
Message-ID: <87h93k5tlz.fsf@drachen> (raw)
In-Reply-To: <20170222123931.qfsjgtekri2nvkle@gmail.com> (Anast Gramm's message of "Wed, 22 Feb 2017 14:39:31 +0200")

Anast Gramm <anastasis.gramm2@gmail.com> writes:

> I want to remove custom-set-faces from the code below, but I don't
> know how.  setq doesn't work, and I don't know what to try.

I use this - dunno if it's good (but it works):

#+begin_src emacs-lisp
(defun my-face-spec-set (face spec)
  "Same as `custom-set-faces', minus custom and for one face."
  ;; (put face 'saved-face spec)
  (face-spec-set face spec 'face-defface-spec))
#+end_src


Michael.



      parent reply	other threads:[~2017-02-24  0:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 12:39 remove custom-set-* Anast Gramm
2017-02-22 15:51 ` Eli Zaretskii
2017-02-24  0:18 ` Michael Heerdegen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h93k5tlz.fsf@drachen \
    --to=michael_heerdegen@web.de \
    --cc=anastasis.gramm2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.