|
From: | Harry Putnam |
Subject: | test for presence of library |
Date: | Thu, 18 Feb 2010 16:56:04 -0600 |
User-agent: | Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Can one test for the presence of a library before requiring it? I mean in the way one might test for the presence of a file in common shell script; if [ -f /my/file ];then blab blab fi Only here we are testing for the presence of a library somewhere in the load path rather than a specific file location. The lisp equivalent of: if some-lib then (require some-lib) fi
[Prev in Thread] | Current Thread | [Next in Thread] |