Function: url-store-in-cache
url-store-in-cache is an autoloaded and byte-compiled function defined
in url-cache.el.gz.
Signature
(url-store-in-cache &optional BUFF)
Documentation
Store buffer BUFF in the cache.
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-cache.el.gz
;;;###autoload
(defun url-store-in-cache (&optional buff)
"Store buffer BUFF in the cache."
(with-current-buffer (or buff (current-buffer))
(let ((fname (url-cache-create-filename (url-view-url t))))
(if (url-cache-prepare fname)
(let ((coding-system-for-write 'binary))
(write-region (point-min) (point-max) fname nil 5))))))