summaryrefslogtreecommitdiff
path: root/elisp/geiser-connection.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-01 13:19:49 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-01 13:19:49 +0200
commitf769a98d7fd23cbaa3ecb0c94135aa36dca3cbc2 (patch)
tree6e356e3ca2f684f0f2726cf0baba002586f1c610 /elisp/geiser-connection.el
parent94eee8130f891425ca518c084d5ece65e1ca75b1 (diff)
downloadgeiser-f769a98d7fd23cbaa3ecb0c94135aa36dca3cbc2.tar.gz
geiser-f769a98d7fd23cbaa3ecb0c94135aa36dca3cbc2.tar.bz2
Irrelevant refactoring.
Diffstat (limited to 'elisp/geiser-connection.el')
-rw-r--r--elisp/geiser-connection.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el
index 7312de4..8e31eaa 100644
--- a/elisp/geiser-connection.el
+++ b/elisp/geiser-connection.el
@@ -229,9 +229,9 @@
(defun geiser-con--send-string/wait (buffer/proc str cont &optional timeout sbuf)
(save-current-buffer
- (let* ((con (geiser-con--get-connection buffer/proc))
- (proc (geiser-con--connection-process con)))
- (unless proc (error geiser-con--error-message))
+ (let ((con (geiser-con--get-connection buffer/proc)))
+ (unless (geiser-con--connection-process con)
+ (error geiser-con--error-message))
(let* ((req (geiser-con--send-string buffer/proc str cont sbuf))
(id (and req (geiser-con--request-id req)))
(time (or timeout geiser-connection-timeout))