File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ of the namespace in the Clojure source buffer."
130
130
(setq a-repl b))
131
131
(equal type (cider-connection-type-for-buffer b))))
132
132
(buffer-list ))))
133
- (if-let ((repl (or the-repl a-repl)))
133
+ (if-let* ((repl (or the-repl a-repl)))
134
134
(cider--switch-to-repl-buffer repl set-namespace)
135
135
(user-error " No REPL found" ))))
136
136
@@ -156,13 +156,13 @@ Clojure buffer and the REPL buffer."
156
156
(the-buf (let ((repl-type (cider-connection-type-for-buffer)))
157
157
(seq-find (lambda (b )
158
158
(unless (with-current-buffer b (derived-mode-p 'cider-repl-mode ))
159
- (when-let ((type (cider-connection-type-for-buffer b)))
159
+ (when-let* ((type (cider-connection-type-for-buffer b)))
160
160
(unless a-buf
161
161
(setq a-buf b))
162
162
(or (equal type " multi" )
163
163
(equal type repl-type)))))
164
164
(buffer-list )))))
165
- (if-let ((buf (or the-buf a-buf)))
165
+ (if-let* ((buf (or the-buf a-buf)))
166
166
(if cider-repl-display-in-current-window
167
167
(pop-to-buffer-same-window buf)
168
168
(pop-to-buffer buf))
You can’t perform that action at this time.
0 commit comments