mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 11:09:51 +00:00
Add error message if the package cannot be found.
This commit is contained in:
parent
5455a7696e
commit
c1fdb43d59
1 changed files with 77 additions and 78 deletions
|
@ -249,7 +249,7 @@
|
|||
(file-name-as-directory
|
||||
(expand-file-name file-name package-build-working-dir))))
|
||||
|
||||
(when cfg
|
||||
(if cfg
|
||||
(let* ((repo-type (plist-get cfg :fetcher))
|
||||
(repo-url (plist-get cfg :url))
|
||||
(files (plist-get cfg :files))
|
||||
|
@ -324,10 +324,9 @@
|
|||
files)
|
||||
|
||||
(delete-directory pkg-dir t nil)
|
||||
(package-build-add-to-archive-contents pkg-info 'tar))
|
||||
|
||||
)))
|
||||
(package-build-dump-archive-contents))))
|
||||
(package-build-add-to-archive-contents pkg-info 'tar))))
|
||||
(package-build-dump-archive-contents))
|
||||
(message "\nERROR: Cannot find package %s\n" file-name))))
|
||||
|
||||
|
||||
(defvar package-build-alist
|
||||
|
|
Loading…
Reference in a new issue