Function: url-file-local-copy
url-file-local-copy is an autoloaded and byte-compiled function
defined in url-handlers.el.gz.
Signature
(url-file-local-copy URL &rest IGNORED)
Documentation
Copy URL into a temporary file on this machine.
Returns the name of the local copy, or nil, if FILE is directly accessible.
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-handlers.el.gz
;;;###autoload
(defun url-file-local-copy (url &rest _ignored)
"Copy URL into a temporary file on this machine.
Returns the name of the local copy, or nil, if FILE is directly
accessible."
(let ((filename (make-temp-file "url")))
(url-copy-file url filename 'ok-if-already-exists)
filename))