mirror of
https://github.com/correl/melpa.git
synced 2024-11-28 11:09:55 +00:00
fix bug additional bug related to single builds
Because of some missing (package-build-initialize) calls, which were mistyped, certain areas were not working. This fixes a few more of those typos.
This commit is contained in:
parent
8ec4cf3e2e
commit
4a526a4128
1 changed files with 2 additions and 2 deletions
|
@ -655,7 +655,7 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
|
||||
(defun pb/package-name-completing-read ()
|
||||
"Prompt for a package name, returning a symbol."
|
||||
(package-initialize)
|
||||
(package-build-initialize)
|
||||
(intern (completing-read "Package: " package-build-alist)))
|
||||
|
||||
(defun pb/find-source-file (target files)
|
||||
|
@ -668,7 +668,7 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(defun package-build-archive (name)
|
||||
"Build a package archive for package NAME."
|
||||
(interactive (list (pb/package-name-completing-read)))
|
||||
(package-initialize)
|
||||
(package-build-initialize)
|
||||
(let* ((file-name (symbol-name name))
|
||||
(cfg (or (cdr (assoc name package-build-alist))
|
||||
(error "Cannot find package %s" file-name)))
|
||||
|
|
Loading…
Reference in a new issue