summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliza Velasquez <4576666+elizagamedev@users.noreply.github.com>2024-05-22 10:01:28 -0700
committerEliza Velasquez <4576666+elizagamedev@users.noreply.github.com>2024-05-22 10:01:28 -0700
commit241f16327f43218635c38eb21412cf0ba30975c2 (patch)
tree649746b8c89bedee51e1650133d6bfc0d522ffaa
parent4f2b1eb3e28341c3eb9bba0488bc4b553d305071 (diff)
downloadgeiser-241f16327f43218635c38eb21412cf0ba30975c2.tar.gz
geiser-241f16327f43218635c38eb21412cf0ba30975c2.tar.bz2
Combine let bindings
-rw-r--r--elisp/geiser-connection.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el
index 5aa05a9..2b3c4b9 100644
--- a/elisp/geiser-connection.el
+++ b/elisp/geiser-connection.el
@@ -208,13 +208,13 @@
(unless (string-blank-p extra-output)
(geiser-log--warn "Extra output (before): %s"
(string-trim extra-output))))
- (let* ((ret (read-from-string answer start)))
- (let ((extra-output (substring answer (cdr ret))))
- (unless (string-blank-p extra-output)
- ;; Usually, the extra output is just the return value
- ;; being echoed by the REPL, and not worth noting.
- (geiser-log--debug "Extra output (after): %s"
- (string-trim extra-output))))
+ (let* ((ret (read-from-string answer start))
+ (extra-output (substring answer (cdr ret))))
+ (unless (string-blank-p extra-output)
+ ;; Usually, the extra output is just the return value
+ ;; being echoed by the REPL, and not worth noting.
+ (geiser-log--debug "Extra output (after): %s"
+ (string-trim extra-output)))
(car ret))))
`((error (key . retort-syntax))
(output . ,answer)