Function: gnus-parse-without-error

gnus-parse-without-error is a macro defined in gnus-util.el.gz.

Signature

(gnus-parse-without-error &rest BODY)

Documentation

Allow continuing onto the next line even if an error occurs.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-util.el.gz
(defmacro gnus-parse-without-error (&rest body)
  "Allow continuing onto the next line even if an error occurs."
  (declare (indent 0) (debug t))
  `(while (not (eobp))
     (condition-case ()
	 (progn
	   ,@body
	   (goto-char (point-max)))
       (error
	(gnus-error 4 "Invalid data on line %d"
		    (count-lines (point-min) (point)))
	(forward-line 1)))))