help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: A better way to factor custom-set-faces (per OS)


From: Colin S. Miller
Subject: Re: A better way to factor custom-set-faces (per OS)
Date: Thu, 27 Jul 2006 20:29:45 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060713)

Denis Bueno wrote:
All--

Is there a better way than below [1] to conditionalise my one custom-set-faces call?

I use the same .emacs on several machines which are either OS X or Linux machines. Currently I use different fonts on both machines. However, that is the principal difference I'm trying to account for in conditionalising the calls to custom-set-faces.

Is there a better way to accomplish what I'm trying to accomplish?



Denis,

On XEmacs, which separates out the init.el and custom.el files, I use
(setq custom-file (concat "~/.xemacs/custom-" (symbol-name system-type) ".el"))
in my init.el (.emacs.el) so that the customisation file is different for
each OS I run XEmacs on.

See
http://www.gnu.org/software/emacs/manual/emacs.html#Saving-Customizations
for further details of how to get this to work for GNU Emacs. (Large file)

The page-at-time manual has this section missing, it should be referenced from
http://www.gnu.org/software/emacs/manual/html_node/Easy-Customization.html
but that leads to a 404 error.


HTH,
Colin S. Miller


reply via email to

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