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

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

Re: Nice Emacs Lisp


From: Peter Dyballa
Subject: Re: Nice Emacs Lisp
Date: Wed, 18 Mar 2009 23:13:02 +0100


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).

--
Greetings

  Pete

For some reason, this fortune reminds everyone of Marvin Zelkowitz.






reply via email to

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