Function: nnweb-definition

nnweb-definition is a byte-compiled function defined in nnweb.el.gz.

Signature

(nnweb-definition TYPE &optional NOERROR)

Documentation

Return the definition of TYPE.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnweb.el.gz
(defun nnweb-definition (type &optional noerror)
  "Return the definition of TYPE."
  (when (eq nnweb-type 'gmane)
    (user-error "`gmane' is no longer a valid value for `nnweb-type'"))
  (let ((def (cdr (assq type (assq nnweb-type nnweb-type-definition)))))
    (when (and (not def)
	       (not noerror))
      (error "Undefined definition %s" type))
    def))