From: Gerd Moellmann Date: Tue, 5 Sep 2023 17:19:17 +0000 (+0200) Subject: Reformulate an error message X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19b80d9bff2b868b5428d2c5ab18c2d275b3d2d5;p=emacs.git Reformulate an error message --- diff --git a/lisp/emacs-lisp/pkg.el b/lisp/emacs-lisp/pkg.el index 0a13de9b117..c1f69884ba9 100644 --- a/lisp/emacs-lisp/pkg.el +++ b/lisp/emacs-lisp/pkg.el @@ -711,7 +711,7 @@ Value is t." (doc nil)) (dolist (option options) (unless (consp option) - (error "Bogus DEFPACKAGE option: %s" option)) + (error "Valid defpackage options must be lists: '%s'" option)) (cl-case (car option) (:nicknames (setf nicknames (pkg--stringify-names (cdr option) "package")))