Function: feature-symbols

feature-symbols is a byte-compiled function defined in loadhist.el.gz.

Signature

(feature-symbols FEATURE)

Documentation

Return the file and list of definitions associated with FEATURE.

The value is actually the element of load-history for the file that did (provide FEATURE).

Source Code

;; Defined in /usr/src/emacs/lisp/loadhist.el.gz
(defun feature-symbols (feature)
  "Return the file and list of definitions associated with FEATURE.
The value is actually the element of `load-history'
for the file that did (provide FEATURE)."
  (catch 'foundit
    (let ((element (cons 'provide feature)))
      (dolist (x load-history nil)
	(when (member element (cdr x))
	  (throw 'foundit x))))))