[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached f2e1fd52f1 1/2: Update incorrect cl-defgeneric
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached f2e1fd52f1 1/2: Update incorrect cl-defgeneric functions |
Date: |
Mon, 23 May 2022 12:57:26 -0400 (EDT) |
branch: externals/detached
commit f2e1fd52f1d9909ca847b289f51cc468fd332d3f
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Update incorrect cl-defgeneric functions
Should be using cl-defmethod instead.
---
detached.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/detached.el b/detached.el
index df97b0e632..acfdd1f1d0 100644
--- a/detached.el
+++ b/detached.el
@@ -810,13 +810,13 @@ This function uses the `notifications' library."
(cl-defgeneric detached-dtach-command (entity &optional concat)
"Return dtach command for ENTITY optionally CONCAT.")
-(cl-defgeneric detached-dtach-command ((command string) &optional concat)
+(cl-defmethod detached-dtach-command ((command string) &optional concat)
"Return dtach command for COMMAND.
Optionally CONCAT the command return command into a string."
(detached-dtach-command (detached-create-session command) concat))
-(cl-defgeneric detached-dtach-command ((session detached-session) &optional
concat)
+(cl-defmethod detached-dtach-command ((session detached-session) &optional
concat)
"Return dtach command for SESSION.
Optionally CONCAT the command return command into a string."