bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66342: Quote cl-generic-current-method-specializers


From: Thuna
Subject: bug#66342: Quote cl-generic-current-method-specializers
Date: Wed, 04 Oct 2023 16:18:20 +0200

Currently, cl-generic-current-method-specializers expands into an alist
of the form ((ARG . TYPE)...).  The patch I provide quotes this so that
it can serve as a proper sexp.

Without quoting, this expansion is a bad sexp that, when evaluated,
results in an error.  If quoted, the form will simply not macroexpand,
and any other method causes it to be evaluated after expanding.  As it
relies on the cl-defmethod's context, I see no obvious and/or convenient
ways to use macroexpand to get the result unevaluated.

A quick grep brought up no uses of this macro, so I feel that this
change shouldn't effect many people, if any at all, although feel free
to correct me if this is not the case.

Attachment: 0001-Quote-cl-generic-current-method-specializers-inside-.patch
Description: The patch


reply via email to

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