summaryrefslogtreecommitdiff
path: root/cider.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2016-08-06 18:34:18 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2016-08-06 18:34:18 +0300
commit31ebe880d69817ce12345623a1da5b68ce7bccfe (patch)
treeed0f027b4f68080e243e154c70dcddec3bb2eb3a /cider.el
parentee63ad0eeda42e958c90e540a4e65579f73edadd (diff)
Shorten an error message
It wasn't taking into account gradle projects and was a bit too verbose.
Diffstat (limited to 'cider.el')
-rw-r--r--cider.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/cider.el b/cider.el
index fb370b9b..2db276eb 100644
--- a/cider.el
+++ b/cider.el
@@ -502,8 +502,7 @@ own buffer."
(nrepl-start-server-process
project-dir cmd
(when cljs-too #'cider-create-sibling-cljs-repl)))))
- (message "The %s executable (specified by `cider-lein-command' or `cider-boot-command') isn't on your `exec-path'"
- command))))
+ (user-error "The %s executable isn't on your `exec-path'" command))))
;;;###autoload
(defun cider-jack-in-clojurescript (&optional prompt-project)