unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: j_del_strother@hotmail.com (Jon)
Subject: Re: Creating a function to change custom-set-faces
Date: 16 Apr 2003 01:21:34 -0700	[thread overview]
Message-ID: <445cd6bf.0304160021.40e5e9b1@posting.google.com> (raw)
In-Reply-To: yoijvfxfr5nx.fsf@helm.dd.chalmers.se

bojohan+news@dd.chalmers.se (Johan Bockgård) wrote in message news:<yoijvfxfr5nx.fsf@helm.dd.chalmers.se>...
> 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

  reply	other threads:[~2003-04-16  8:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-15  9:44 Creating a function to change custom-set-faces Jon
2003-04-15 18:12 ` Johan Bockgård
2003-04-16  8:21   ` Jon [this message]
2003-04-16  8:52     ` Johan Bockgård
2003-04-16 14:19       ` Jon

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=445cd6bf.0304160021.40e5e9b1@posting.google.com \
    --to=j_del_strother@hotmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).