csys fixes: merge zero actions, remove-from-plist: missing parameter; threshold: default 1
This commit is contained in:
parent
f3e3af8e0b
commit
e0384a9108
2 changed files with 5 additions and 5 deletions
|
|
@ -128,8 +128,8 @@
|
|||
|
||||
;;;; action handlers
|
||||
|
||||
(defun basic-actions ()
|
||||
(list :value (value-add)
|
||||
(defun basic-actions (&key (threshold 1))
|
||||
(list :value (value-add :threshold threshold)
|
||||
:create (create)
|
||||
:connect (connect)
|
||||
:next (no-op :no-forward t)))
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
(let ((args+ (if name
|
||||
`(:addr ,(list domain cat name))
|
||||
`(:categ ,(list domain cat)))))
|
||||
(setf args (alx:remove-from-plist :domain :cat :name))
|
||||
(setf args (alx:remove-from-plist args :domain :cat :name))
|
||||
(actor:send cell
|
||||
(message:create (list domain :create) :data (append args+ args)))))
|
||||
|
||||
|
|
|
|||
|
|
@ -70,8 +70,8 @@
|
|||
':default (csys:std-proc :actions (csys:basic-actions)))))
|
||||
|
||||
(defun actions-zero-initial ()
|
||||
(util:plist-merge (list :next (next-zero-initial))
|
||||
(csys:basic-actions)))
|
||||
(util:plist-merge (csys:basic-actions)
|
||||
(list :next (next-zero-initial))))
|
||||
|
||||
(defun next-zero-initial ()
|
||||
(lambda (msg scope)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue