all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Patrick Drechsler <patrick@pdrechsler.de>
To: emacs-devel@gnu.org
Subject: translating customize font selection
Date: Wed, 06 Aug 2008 23:36:22 +0200	[thread overview]
Message-ID: <87hc9xg71l.fsf@pdrechsler.de> (raw)

Hi,

currently I have this in my ~/.emacs.d/init.el file:

--8<---------------cut here---------------start------------->8---
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:inherit nil :stipple nil :background "#ffffff" :foreground "#000000" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 98 :width normal :foundry "unknown" :family "DejaVu Sans Mono")))))
--8<---------------cut here---------------end--------------->8---

I would like to translate this to an expression so I can wrap it in
something like

(if (eq system-type 'gnu/linux) ;; or some other condition
;; <the font stuff her>
) 

TIA,

Patrick

Emacs version:

In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
 2008-08-06 on golem Windowing system distributor `The X.Org
 Foundation', version 11.0.10400090 configured using `configure
 '--with-x-toolkit=gtk' '--prefix=/home/patrick/prg/stow/emacs-devel''





                 reply	other threads:[~2008-08-06 21:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87hc9xg71l.fsf@pdrechsler.de \
    --to=patrick@pdrechsler.de \
    --cc=emacs-devel@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.