From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: j_del_strother@hotmail.com (Jon) Newsgroups: gmane.emacs.help Subject: Re: Creating a function to change custom-set-faces Date: 16 Apr 2003 01:21:34 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <445cd6bf.0304160021.40e5e9b1@posting.google.com> References: <445cd6bf.0304150144.2715e520@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050481565 7294 80.91.224.249 (16 Apr 2003 08:26:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 08:26:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 10:25:59 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195iEx-0001so-00 for ; Wed, 16 Apr 2003 10:25:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195iEI-0008LI-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 16 Apr 2003 04:25:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 20.138.254.2 Original-X-Trace: posting.google.com 1050481295 20210 127.0.0.1 (16 Apr 2003 08:21:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 16 Apr 2003 08:21:35 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:112026 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8526 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8526 bojohan+news@dd.chalmers.se (Johan Bockgård) wrote in message news:... > j_del_strother@hotmail.com (Jon) writes: > > > I tried M-x custom-set-faces, which doesn't exist. > > The function does exist, but it is not interactive (hence M-x doesn't > work). See C-h f custom-set-faces Ahh...that makes more sense. Incidentally, for other noobs like me, you can create a custom-set-faces interactive function using something like this: (defun green_face () "Changes to a green typeset" (interactive) (custom-set-faces '(default((t (:background "darkgreen" blah blah blah)) '(cursor ((t (:background "white" etc... ) ) Which will then allow you to do M-x custom-set-faces. Thanks for the help, Jon