Function: nnweb-parse-find-1

nnweb-parse-find-1 is a byte-compiled function defined in nnweb.el.gz.

Signature

(nnweb-parse-find-1 TYPE CONTENTS MAXDEPTH)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnweb.el.gz
(defun nnweb-parse-find-1 (type contents maxdepth)
  (when (or (null maxdepth)
	    (not (zerop maxdepth)))
    (when (consp contents)
      (when (eq (car contents) type)
	(throw 'found contents))
      (when (listp (cdr contents))
	(dolist (element contents)
	  (when (consp element)
	    (nnweb-parse-find-1 type element
				(and maxdepth (1- maxdepth)))))))))