branch: elpa/emacsql
commit 739c24cab69c7b14eb43a0ef7f11a5111b401152
Author: akater <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
Add kludge to work around `cl-defmethod' bug
`cl-defmethod' does not properly treat an argument that is named
`_', which causes `describe-function' to malfunction when trying
to describe a generic function that has a method that was defined
that way. Rename the argument to `_rest' to work around this.
---
emacsql-sqlite.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index dbec5e95eb..5e94d600d5 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -82,7 +82,7 @@ used.")
(:documentation "A connection to a SQLite database."))
(cl-defmethod initialize-instance :after
- ((connection emacsql-sqlite-connection) &rest _)
+ ((connection emacsql-sqlite-connection) &rest _rest)
(emacsql-sqlite-ensure-binary)
(let* ((process-connection-type nil) ; use a pipe
(coding-system-for-write 'utf-8-auto)