emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/emacsql 739c24cab6 389/427: Add kludge to work around `cl-


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 739c24cab6 389/427: Add kludge to work around `cl-defmethod' bug
Date: Tue, 13 Dec 2022 03:00:15 -0500 (EST)

branch: elpa/emacsql
commit 739c24cab69c7b14eb43a0ef7f11a5111b401152
Author: akater <nuclearspace@gmail.com>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    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)



reply via email to

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