mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Allow symbol or string for building package.
This makes sense since functions such as package-build-checkout take a symbol as argument. Preferably package-build should use one of them all over place and not mix.
This commit is contained in:
parent
e3a3977e12
commit
f3ea2a3c60
1 changed files with 2 additions and 0 deletions
|
@ -841,6 +841,8 @@ syntax is currently only documented in the MELPA README. You can
|
|||
simply pass `package-build-default-files-spec' in most cases.
|
||||
|
||||
Returns the archive entry for the package."
|
||||
(when (symbolp package-name)
|
||||
(setq package-name (symbol-name package-name)))
|
||||
(let ((files (package-build-expand-file-specs source-dir file-specs)))
|
||||
(cond
|
||||
((not version)
|
||||
|
|
Loading…
Reference in a new issue