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

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

Re: alternative to (require ...)


From: Ole Laursen
Subject: Re: alternative to (require ...)
Date: Tue, 24 Feb 2004 19:47:58 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Sam Halliday <devnull@example.com> writes:

[...]

> but if this package is not installed on the system, emacs bails on
> loading the rest of my ~/.emacs file. this is quite annoying as i
> like to maintain a single ~/.emacs file and use it wherever i am
> using emacs.

I do the following in my .emacs:

  (if (file-readable-p "~/.local-emacs")
      (load "~/.local-emacs"))

Then I put the stuff that is specific for a particular site into
.local-emacs so that I can keep the .emacs files synchronised.

-- 
Ole Laursen
http://www.cs.auc.dk/~olau/


reply via email to

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