From b21ecce6645fc17c520b722de3d96e550c77c490 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 13 Mar 2025 21:30:13 -0400 Subject: Update --- src/wasp-bus.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/wasp-bus.el') diff --git a/src/wasp-bus.el b/src/wasp-bus.el index aa950b29..cc75a26c 100644 --- a/src/wasp-bus.el +++ b/src/wasp-bus.el @@ -80,11 +80,12 @@ (defun w/pub (ev &optional d) "Publish the data D to the event EV." - (process-send-string - w/bus-process - (s-concat - (format "%S" `(pub ,ev ,@d)) - "\n"))) + (let ((s (s-concat (format "%S" `(pub ,ev ,@d)) "\n"))) + (w/write-log (format "sending: %s" s)) + (process-send-string + w/bus-process + s + ))) (defun w/sub-all () "Subscribe to all events in `w/bus-event-handlers'." -- cgit v1.2.3