Function: url-insert-file-contents
url-insert-file-contents is an autoloaded and byte-compiled function
defined in url-handlers.el.gz.
Signature
(url-insert-file-contents URL &optional VISIT BEG END REPLACE)
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-handlers.el.gz
;;;###autoload
(defun url-insert-file-contents (url &optional visit beg end replace)
(let ((buffer (url-retrieve-synchronously url)))
(unless buffer (signal 'file-error (list url "No Data")))
(when (fboundp 'url-http--insert-file-helper)
;; XXX: This is HTTP/S specific and should be moved to url-http
;; instead. See bug#17549.
(url-http--insert-file-helper buffer url visit))
(url-insert-buffer-contents buffer url visit beg end replace)))