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

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

Re: require a package only if present


From: Andrei Alexandrescu
Subject: Re: require a package only if present
Date: Sat, 11 Jul 2009 16:14:52 -0500
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

Edward O'Connor wrote:

I am trying to use the same copy of .emacs across various machines. Some, however, don't have certain packages. So I need to replace lines like:

(require 'tex-site)

with code that checks whether tex-site is present and only loads it if there. How can I do that? Any pointers welcome.

(require 'tex-site nil t)

Many thanks!

Andrei


reply via email to

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