summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-connection.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el
index e466cd3..675fb25 100644
--- a/elisp/geiser-connection.el
+++ b/elisp/geiser-connection.el
@@ -228,16 +228,17 @@
(geiser-con--connection-completed con req)))
(defun geiser-con--connection-add-request (c r)
- (geiser-log--info "REQUEST: <%s>: %s"
- (geiser-con--request-id r)
- (geiser-con--request-string r))
- (geiser-con--connection-activate c)
- (tq-enqueue (geiser-con--connection-tq c)
- (concat (geiser-con--request-string r) "\n")
- (geiser-con--connection-eot c)
- r
- 'geiser-con--process-completed-request
- t))
+ (let ((rstr (geiser-con--request-string r)))
+ (geiser-log--info "REQUEST: <%s>: %s"
+ (geiser-con--request-id r)
+ rstr)
+ (geiser-con--connection-activate c)
+ (tq-enqueue (geiser-con--connection-tq c)
+ (concat rstr "\n")
+ (geiser-con--connection-eot c)
+ r
+ 'geiser-con--process-completed-request
+ t)))
;;; Message sending interface: