From: attila.lendvai Date: Tue, 12 Jun 2007 08:36:46 +0000 (-0700) Subject: Drop usage of defaction X-Git-Url: https://git.hcoop.net/clinton/lisp-on-lines.git/commitdiff_plain/88670beca060fc94190b30d4dc6ccb38dbe2fbcd?ds=sidebyside Drop usage of defaction darcs-hash:20070612083646-6b9e8-74cc7137432ef60b07bd6cbd52c5b07f1eeec8ea.gz --- diff --git a/reddit-example.lisp b/reddit-example.lisp index 1efa49d..73821bc 100644 --- a/reddit-example.lisp +++ b/reddit-example.lisp @@ -43,7 +43,7 @@ (defvar *links* (list)) -(defaction add-link ((self component)) +(defmethod/cc add-link ((self component)) (let ((l (call-display (make-instance 'link) :type 'editor))) (when l (push l *links*)))) diff --git a/src/components/ajax.lisp b/src/components/ajax.lisp index f3a9f83..b7fc38c 100644 --- a/src/components/ajax.lisp +++ b/src/components/ajax.lisp @@ -78,7 +78,7 @@ but here's what i use." input-id "session" (ucw::session.id (ucw::context.session ucw::*context*)))) -(defaction on-submit ((l auto-complete)) +(defmethod/cc on-submit ((l auto-complete)) ()) (defmethod js-on-select ((l auto-complete)) @@ -184,7 +184,7 @@ but here's what i use." (