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

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

Re: Using the same custom file in two different OSes


From: Sebastien Vauban
Subject: Re: Using the same custom file in two different OSes
Date: Thu, 17 Jan 2013 09:43:21 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt)

Dani,

Dani Moncayo wrote:
> So, now I'm able to keep my custom file free of platform-dependent
> settings, which are moved to the init file, like this:
>
>   ;; Set the custom-file
>   (setq custom-file "whatever")
>   ;; Load the platform-independent customization
>   (load custom-file)
>   ;; Set the platform-specific customization
>   (if (display-graphic-p) ...

FYI, I'm using:

    (if window-system ...

but that comes down to pretty much the same thing, it seems.

Best regards,
  Seb

-- 
Sebastien Vauban


reply via email to

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