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

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

Re: Nice Emacs Lisp


From: Mike Mattie
Subject: Re: Nice Emacs Lisp
Date: Wed, 18 Mar 2009 15:42:35 -0700
User-agent: Mutt/1.5.16 (2007-06-09)

On Wed, Mar 18, 2009 at 11:13:02PM +0100, Peter Dyballa wrote:
>
> Am 18.03.2009 um 22:31 schrieb Mike Mattie:
>
>> (load-user-elisp
>>    (cond
>>      ((string-equal "gnu/linux" system-type)  "linux.el")
>>      ((string-equal "darwin"    system-type)  "darwin.el")
>>      ((string-equal "windows"   system-type)  "windows.el")))
>
> It's also possible to set the variable custom-file to something like
>
>       (setq custom-file (format "~/.emacs-Abrichtung-%d.el" system-type))
>
> Then all customisation would go into this file. And this file would be 
> loaded after the user-init-file (which is a variable containing the file 
> name, including directory, of the user's initialisation file).

elegant, but isn't the custom-file scribbled on by customize ?
From my memory it is really a data file, though it is elisp.

> --
> Greetings
>
>   Pete
>
> For some reason, this fortune reminds everyone of Marvin Zelkowitz.
>
>

-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

Attachment: pgppNibrKYrVC.pgp
Description: PGP signature


reply via email to

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