@@ -104,7 +104,7 @@ version from the CIDER package or library.")
104
104
(defcustom cider-default-repl-command
105
105
" lein"
106
106
" The default command and parameters to use when connecting to nREPL.
107
- This value will only be consulted when no identifying file types, ie
107
+ This value will only be consulted when no identifying file types, i.e.
108
108
project.clj for leiningen or build.boot for boot, could be found."
109
109
:type 'string
110
110
:group 'cider
@@ -270,13 +270,12 @@ of list of the form (project-dir port)."
270
270
(proj-ports (mapcar (lambda (d )
271
271
(-when-let (port (and d (nrepl-extract-port (cider--file-path d))))
272
272
(list (file-name-nondirectory (directory-file-name d)) port)))
273
- (cons (nrepl-project-directory-for dir)
274
- paths))))
273
+ (cons (nrepl-project-directory-for dir) paths))))
275
274
(-distinct (delq nil proj-ports))))
276
275
277
276
(defun cider--running-nrepl-paths ()
278
277
" Retrieve project paths of running nREPL servers.
279
- use `cider-ps-running-nrepls-command' and `cider-ps-running-nrepl-path-regexp-list' ."
278
+ Use `cider-ps-running-nrepls-command' and `cider-ps-running-nrepl-path-regexp-list' ."
280
279
(let (paths)
281
280
(with-temp-buffer
282
281
(insert (shell-command-to-string cider-ps-running-nrepls-command))
@@ -293,8 +292,8 @@ If both project file types are present, prompt the user to choose."
293
292
(lein-project-exists (file-exists-p " project.clj" ))
294
293
(boot-project-exists (file-exists-p " build.boot" )))
295
294
(cond ((and lein-project-exists boot-project-exists)
296
- (completing-read " Which command should be used? " '( " lein " " boot " ) nil
297
- t " lein" ))
295
+ (completing-read " Which command should be used? "
296
+ '( " lein " " boot " ) nil t " lein" ))
298
297
(lein-project-exists " lein" )
299
298
(boot-project-exists " boot" ))))
300
299
0 commit comments