mirror of
https://github.com/correl/melpa.git
synced 2024-11-22 19:18:39 +00:00
Report an error when elisp on EmacsWiki gets deleted upstream (as happened with rainbow-delimiters.el)
This commit is contained in:
parent
66db7a2e84
commit
ead0703746
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ rate limiting."
|
|||
(format "http://www.emacswiki.org/emacs/%s" filename)))
|
||||
(pb/with-wiki-rate-limit
|
||||
(url-copy-file download-url filename t))
|
||||
(when (zerop (nth 7 (file-attributes filename)))
|
||||
(error "Wiki file %s was empty - has it been removed?" filename))
|
||||
(with-current-buffer (pb/with-wiki-rate-limit
|
||||
(url-retrieve-synchronously wiki-url))
|
||||
(message (format "%s\n" download-url))
|
||||
|
|
Loading…
Reference in a new issue