Fix :fetcher warning to include package name

This commit is contained in:
Tej Chajed 2019-07-28 10:00:36 -04:00
parent efb4584797
commit 1eacda2d5c
No known key found for this signature in database
GPG key ID: A5CD04BD8ED49551

View file

@ -254,7 +254,8 @@ elsewhere."
(with-plist! recipe (fetcher) (with-plist! recipe (fetcher)
(when fetcher (when fetcher
(message "%s\n%s" (message "%s\n%s"
"WARNING: The :fetcher property was used for the %S package." (format "WARNING: The :fetcher property was used for the %S package."
name)
"This property is deprecated. Replace it with :host.") "This property is deprecated. Replace it with :host.")
(plist-put! recipe :host fetcher) (plist-put! recipe :host fetcher)
(plist-delete! recipe :fetcher)) (plist-delete! recipe :fetcher))