emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/pkg 19b80d9bff2: Reformulate an error message


From: Gerd Moellmann
Subject: scratch/pkg 19b80d9bff2: Reformulate an error message
Date: Tue, 5 Sep 2023 13:19:39 -0400 (EDT)

branch: scratch/pkg
commit 19b80d9bff2b868b5428d2c5ab18c2d275b3d2d5
Author: Gerd Moellmann <gerd.moellmann@gmail.com>
Commit: Gerd Moellmann <gerd.moellmann@gmail.com>

    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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]