[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider 90db8e378a 1/5: Restore a conditional check I had de
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider 90db8e378a 1/5: Restore a conditional check I had deleted accidentally |
Date: |
Sun, 13 Feb 2022 05:58:17 -0500 (EST) |
branch: elpa/cider
commit 90db8e378a5fa343b4a1c2ffc8e931a3b9567f94
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Restore a conditional check I had deleted accidentally
---
cider.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/cider.el b/cider.el
index 08985452c7..c246f69e2f 100644
--- a/cider.el
+++ b/cider.el
@@ -483,9 +483,12 @@ Added to `cider-jack-in-lein-plugins' (which see) when
doing
"Return a normalized list of Leiningen plugins to be injected.
See `cider-jack-in-lein-plugins' for the format, except that the list
returned by this function does not include keyword arguments."
- (let ((plugins (append cider-jack-in-lein-plugins
- `(("mx.cider/enrich-classpath" "1.8.0")
- ("cider/cider-nrepl"
,cider-injected-middleware-version)))))
+ (let ((plugins (if cider-enrich-classpath
+ (append cider-jack-in-lein-plugins
+ `(("cider/cider-nrepl"
,cider-injected-middleware-version)
+ ("mx.cider/enrich-classpath" "1.8.0")))
+ (append cider-jack-in-lein-plugins
+ `(("cider/cider-nrepl"
,cider-injected-middleware-version))))))
(thread-last plugins
(seq-filter
(lambda (spec)