summaryrefslogtreecommitdiff
path: root/src/wasp-bus.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-03-13 21:30:13 -0400
committerLLLL Colonq <llll@colonq>2025-03-13 21:30:13 -0400
commitb21ecce6645fc17c520b722de3d96e550c77c490 (patch)
treeea43d01bd3e36c36eb7b43945ef662088aee3cb7 /src/wasp-bus.el
parenta2d075656ca6a07c6263eee588e15cf2ee802995 (diff)
Update
Diffstat (limited to 'src/wasp-bus.el')
-rw-r--r--src/wasp-bus.el11
1 files changed, 6 insertions, 5 deletions
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'."