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: Edward O'Connor
Subject: Re: require a package only if present
Date: Sat, 11 Jul 2009 11:46:23 -0700


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)




reply via email to

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