2

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

(require 'foo)

has previously happened?

Setjmp
  • 129
  • 3
  • 3
    How about? `featurep` – lawlist Jul 19 '16 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 Jul 20 '16 at 00:02

1 Answers1

-1
(member 'foo features)

See elisp manual about features.

JeanPierre
  • 7,323
  • 1
  • 18
  • 37
Daanturo
  • 180
  • 8