Merge pull request #1609 from tchajed/fix-fetcher-warning

Fix :fetcher warning to include package name
This commit is contained in:
Henrik Lissner 2019-07-28 16:33:23 +02:00 committed by GitHub
commit 1033087beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,8 @@ elsewhere."
(with-plist! recipe (fetcher)
(when fetcher
(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.")
(plist-put! recipe :host fetcher)
(plist-delete! recipe :fetcher))