mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +00:00
Print warning when a single-file package fails package-buffer-info
This commit is contained in:
parent
4e5b2905b4
commit
5893fb850e
1 changed files with 4 additions and 0 deletions
|
@ -718,6 +718,10 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(with-current-buffer (find-file pkg-target)
|
||||
(pb/update-or-insert-version version)
|
||||
(write-file pkg-target nil)
|
||||
(condition-case err
|
||||
(package-buffer-info)
|
||||
('error
|
||||
(message "Warning: package is uninstallable - package-buffer-info reports:\n%S" err)))
|
||||
(kill-buffer))
|
||||
|
||||
(pb/write-pkg-readme (and (> (length pkg-info) 4) (aref pkg-info 4))
|
||||
|
|
Loading…
Reference in a new issue