Skip to content

Commit

Permalink
Fail when a -pkg.el file contains a non-symbol dependency name
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Jul 19, 2015
1 parent 714d408 commit 6e015a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,8 @@ Optionally PRETTY-PRINT the data."
(nth 0 pkgfile-info)
(mapcar
(lambda (elt)
(unless (symbolp (car elt))
(error "Invalid package name in dependency: %S" (car elt)))
(list (car elt) (version-to-list (cadr elt))))
(eval (nth 3 pkgfile-info)))
descr
Expand Down

0 comments on commit 6e015a5

Please sign in to comment.