all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* require a package only if present
@ 2009-07-11 17:44 Andrei Alexandrescu
  2009-07-11 18:46 ` Edward O'Connor
       [not found] ` <mailman.2314.1247338027.2239.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Andrei Alexandrescu @ 2009-07-11 17:44 UTC (permalink / raw)
  To: help-gnu-emacs

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.


Thanks,

Andrei


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-13  9:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-11 17:44 require a package only if present Andrei Alexandrescu
2009-07-11 18:46 ` Edward O'Connor
     [not found] ` <mailman.2314.1247338027.2239.help-gnu-emacs@gnu.org>
2009-07-11 21:14   ` Andrei Alexandrescu
2009-07-11 21:42   ` Will Parsons
2009-07-13  9:12     ` Fabrice Niessen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.