Function: shr-store-contents

shr-store-contents is a byte-compiled function defined in shr.el.gz.

Signature

(shr-store-contents STATUS URL DIRECTORY)

Source Code

;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defun shr-store-contents (status url directory)
  (unless (plist-get status :error)
    (when (or (search-forward "\n\n" nil t)
	      (search-forward "\r\n\r\n" nil t))
      (write-region (point) (point-max)
		    (expand-file-name (file-name-nondirectory url)
				      directory)))))