Skip to content

Commit c739070

Browse files
committed
Tiny improvements
1 parent 2e0f543 commit c739070

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

cider.el

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ version from the CIDER package or library.")
104104
(defcustom cider-default-repl-command
105105
"lein"
106106
"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.
108108
project.clj for leiningen or build.boot for boot, could be found."
109109
:type 'string
110110
:group 'cider
@@ -270,13 +270,12 @@ of list of the form (project-dir port)."
270270
(proj-ports (mapcar (lambda (d)
271271
(-when-let (port (and d (nrepl-extract-port (cider--file-path d))))
272272
(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))))
275274
(-distinct (delq nil proj-ports))))
276275

277276
(defun cider--running-nrepl-paths ()
278277
"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'."
280279
(let (paths)
281280
(with-temp-buffer
282281
(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."
293292
(lein-project-exists (file-exists-p "project.clj"))
294293
(boot-project-exists (file-exists-p "build.boot")))
295294
(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"))
298297
(lein-project-exists "lein")
299298
(boot-project-exists "boot"))))
300299

0 commit comments

Comments
 (0)