[Top][All Lists]

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

Re: remove custom-set-*

From: Michael Heerdegen
Subject: Re: remove custom-set-*
Date: Fri, 24 Feb 2017 01:18:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Anast Gramm <> 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))


reply via email to

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