Valdis.Kletnieks(a)vt.edu wrote:
What's the politically correct way to write Lisp code that does
something
like this:
(maybe-require 'foo) ;; or whatever Lisp means "load it if it's around but
;; don't choke if it isn't
FWIW, GNU Emacs' `require' has had an optional third arg NO-ERROR
since 1998-11-02. If the arg is non-nil, `require' returns nil if the
file is not found instead of signaling an error.
--
John Paul Wallington