Function: provide-theme

provide-theme is a byte-compiled function defined in custom.el.gz.

Signature

(provide-theme THEME)

Documentation

Indicate that this file provides THEME.

This calls provide to provide the feature name stored in THEME's property theme-feature (which is usually a symbol created by custom-make-theme-feature).

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun provide-theme (theme)
  "Indicate that this file provides THEME.
This calls `provide' to provide the feature name stored in THEME's
property `theme-feature' (which is usually a symbol created by
`custom-make-theme-feature')."
  (unless (custom-theme-name-valid-p theme)
    (error "Custom theme cannot be named %S" theme))
  (custom-check-theme theme)
  (provide (get theme 'theme-feature)))