mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +00:00
parent
8ab0a02481
commit
98663a34f8
1 changed files with 5 additions and 8 deletions
|
@ -731,14 +731,11 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(pb/update-or-insert-version version)
|
||||
(pb/ensure-ends-here-line pkg-source)
|
||||
(write-file pkg-target nil)
|
||||
(let ((valid-package))
|
||||
(unwind-protect
|
||||
(progn
|
||||
(condition-case err
|
||||
(package-buffer-info)
|
||||
(setq valid-package t))
|
||||
(kill-buffer)
|
||||
(unless valid-package
|
||||
(delete-file pkg-target))))))
|
||||
('error
|
||||
(message "Warning: %S" err)))
|
||||
(kill-buffer)))
|
||||
|
||||
(pb/write-pkg-readme (and (> (length pkg-info) 4) (aref pkg-info 4))
|
||||
file-name)
|
||||
|
|
Loading…
Reference in a new issue