mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +00:00
Re-apply "Neater display of build results" commit (lost in fasterbuild merge?)
This commit is contained in:
parent
1d2ce20882
commit
b564228de0
1 changed files with 2 additions and 5 deletions
|
@ -956,11 +956,8 @@ Returns the archive entry for the package."
|
||||||
(let ((pkg-name (intern (file-name-nondirectory (buffer-file-name)))))
|
(let ((pkg-name (intern (file-name-nondirectory (buffer-file-name)))))
|
||||||
(package-build-archive pkg-name)
|
(package-build-archive pkg-name)
|
||||||
(package-build-dump-archive-contents)
|
(package-build-dump-archive-contents)
|
||||||
(save-current-buffer
|
(with-output-to-temp-buffer "*package-build-result*"
|
||||||
(switch-to-buffer-other-window
|
(pp (assoc pkg-name (package-build-archive-alist))))
|
||||||
(find-file-noselect
|
|
||||||
(expand-file-name "archive-contents" package-build-archive-dir) t))
|
|
||||||
(revert-buffer t t))
|
|
||||||
(when (yes-or-no-p "Install new package? ")
|
(when (yes-or-no-p "Install new package? ")
|
||||||
(package-install-file (pb/find-package-file pkg-name)))))
|
(package-install-file (pb/find-package-file pkg-name)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue