[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xelb bcccae3602 4/5: Fix warning: Non-symbol arguments
From: |
ELPA Syncer |
Subject: |
[elpa] externals/xelb bcccae3602 4/5: Fix warning: Non-symbol arguments to cl-defgeneric |
Date: |
Sat, 13 Jan 2024 19:52:01 -0500 (EST) |
branch: externals/xelb
commit bcccae360214046d42102a83f8fcaf7291e860e4
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Fix warning: Non-symbol arguments to cl-defgeneric
The argument list must not contain specializers.
* xcb-types.el (xcb:-error-or-event-class->number): Fix argument list.
---
xcb-types.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xcb-types.el b/xcb-types.el
index 87f320a414..165a0d921c 100644
--- a/xcb-types.el
+++ b/xcb-types.el
@@ -709,7 +709,7 @@ and the second the consumed length."
((~code :type xcb:-u1))
:documentation "Event type.")
;; Implemented in 'xcb.el'
-(cl-defgeneric xcb:-error-or-event-class->number ((obj xcb:connection) class))
+(cl-defgeneric xcb:-error-or-event-class->number (obj class))
;;
(cl-defmethod xcb:marshal ((obj xcb:-event) connection &optional sequence)
"Return the byte-array representation of event OBJ.