From 19b80d9bff2b868b5428d2c5ab18c2d275b3d2d5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 5 Sep 2023 19:19:17 +0200 Subject: [PATCH] Reformulate an error message --- lisp/emacs-lisp/pkg.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))) -- 2.39.2