[Top][All Lists]

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

translating customize font selection

From: Patrick Drechsler
Subject: translating customize font selection
Date: Wed, 06 Aug 2008 23:36:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)


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

--8<---------------cut here---------------start------------->8---
  ;; 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>



Emacs version:

In GNU Emacs (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 via email to

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