2

Is there a function that will tell me for a given library foo if

(require 'foo)

has previously happened?

2
  • 3
    How about? featurep
    – lawlist
    Commented Jul 19, 2016 at 22:37
  • 1
    If you looked at the help info for provide it would have told you about a variable it records this in, and if you looked at the documentation for that variable it would tell you about the proper way to test it (as per @lawlist): featurep.
    – MAP
    Commented Jul 20, 2016 at 0:02

1 Answer 1

-1
(member 'foo features)

See elisp manual about features.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.