diff --git a/package-build.el b/package-build.el index 2942ea46..06da6079 100644 --- a/package-build.el +++ b/package-build.el @@ -811,6 +811,7 @@ of the same-named package which is to be kept." (cl-assert pkg-name) (cl-assert (symbolp pkg-name)) (cl-assert (string= (symbol-name pkg-name) (file-name-nondirectory file-name)) + nil "Recipe '%s' contains mismatched package name '%s'" (file-name-nondirectory file-name) (car pkg-info))