From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: remove custom-set-* Date: Fri, 24 Feb 2017 01:18:32 +0100 Message-ID: <87h93k5tlz.fsf@drachen> References: <20170222123931.qfsjgtekri2nvkle@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487895557 17750 195.159.176.226 (24 Feb 2017 00:19:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2017 00:19:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Anast Gramm Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 24 01:19:13 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ch3bK-0003cr-FB for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Feb 2017 01:19:10 +0100 Original-Received: from localhost ([::1]:33569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch3bN-0001X8-2E for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Feb 2017 19:19:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ch3as-0001X0-RR for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 19:18:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ch3ao-0002QR-Uv for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 19:18:42 -0500 Original-Received: from mout.web.de ([212.227.17.12]:54073) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ch3ao-0002QJ-KL for help-gnu-emacs@gnu.org; Thu, 23 Feb 2017 19:18:38 -0500 Original-Received: from drachen.dragon ([109.43.1.149]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M2MYq-1cOQkJ39Nc-00s8n1; Fri, 24 Feb 2017 01:18:36 +0100 In-Reply-To: <20170222123931.qfsjgtekri2nvkle@gmail.com> (Anast Gramm's message of "Wed, 22 Feb 2017 14:39:31 +0200") X-Provags-ID: V03:K0:RnYwjt7P9/glsBqpvykoMu1JVUhdhz9ERrUBut78IVLJmF2Ls6K klKM6OF58410RTIguFc/PDmAcBEyAcjJNEIHM3UORQFUVLnx90M8OzOZhLhpHymgV27bhlE F9JxCFGvN9kXr/wa+6rDjSZ+HHrR7heK/73B460DRWw9pcjusszhwIpDZhcZolXrL9W2zXs v00kkdDjn8fCboOeQ9Ngg== X-UI-Out-Filterresults: notjunk:1;V01:K0:jNWSyHIrYok=:pjylDGfz7nd6fudBj4R+kp LNGgl0F4oOoFDyrqslRT0QubvKKTMLiXNKtv4eHP5L7E8ZSruhhrJCvpHYL5dM+b39Qrgaa4z wlOKKL0do/dW5jWqKSLypB6rkKH1kWYQT36mBVnOEgRagLJK6PmBClO2/jU5apW6VYU75H3mV 1HktTFDRGH9jLqO6XV117pe5N86YZKhbjo/vjdnHEQwxiGgexFTXgAMwfudCJND4JapgCwplk n4r+VfPF2n3F9nbmLyg2IEJ0acFWRk6qfOJNp8EXRIiYSZdRHMnDdNzivbFYS2jtwrGRXjVQk y8luf431v9DpIvHRmt3cC4k7lyDGPrEBzSbRp2RInsnpgdU7zYEKWlWUYoRbiVI2qpA15Qpnb O6HhTJit14LgUb8zHMOLRS3BQN12gJmhpkH/aupIyb8Hmq2gh1NB1N5RS6fL/kcGqZ6R0Hy4b AI4HpGo71LkWeTxCgse6e+S98+2J1zSvONC+nzh6+qErNZcwfT4BLXE1KRE2sIFiZSDKjOhMB jhenTPQ7GQu+/GhbF6CoNt1VX0bzwyWmzYZH4/XQICewdiePtGNuqwjRUTjTgVZ5tgG4ruzf2 zpzypjBCXWzfoKVjRDIUraoPJ/VyN5Fh8yZTOS5OqjYXqxyLXX+4PvkaiSqae6u91v7ZCwMOA Vn6HrGozzetvhobcnEb/1OcE25UNDMMPKh+cl8t9GxymraujxHT2jgDLtFq9xNvTI3VjaXm8v zgQBtrGKu+lNlDZvXP0I/X0ZbRvPUdxBJL3iUeeCwRba7UBIl21qB+EQPGfP4OX/Ww+xdJLX X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112374 Archived-At: 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)) #+end_src Michael.