diff --git a/package-build.el b/package-build.el index aaf87f08..30e2a2e3 100644 --- a/package-build.el +++ b/package-build.el @@ -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))