More informative error message

This commit is contained in:
Steve Purcell 2014-11-08 13:59:45 +00:00
parent e0c4c53284
commit 1a2c6e5d80

View file

@ -711,7 +711,7 @@ Optionally PRETTY-PRINT the data."
(let* ((pkgfile-info (cdr package-def))
(descr (nth 2 pkgfile-info)))
(when (string-match "[\r\n]" descr)
(error "Illegal multi-line package description"))
(error "Illegal multi-line package description in %s" file-path))
(vector
(nth 0 pkgfile-info)
(mapcar