branch: externals/detached
commit f2e1fd52f1d9909ca847b289f51cc468fd332d3f
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>

    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."

Reply via email to