summaryrefslogtreecommitdiff
path: root/cider-eldoc.el
diff options
context:
space:
mode:
authorNeil Okamoto <neil.okamoto@gmail.com>2018-02-06 17:16:55 -0800
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-03-05 08:13:41 +0700
commit547a8db61cf86503fd250dc7d534448b3b785292 (patch)
treee601484007dc2c0b66a642e313939b91befb8d59 /cider-eldoc.el
parent30fe9ea32446bb90057d3c57334a9cbe868e8e69 (diff)
[#2199] Indentation adjustments, per elisp-lint
Diffstat (limited to 'cider-eldoc.el')
-rw-r--r--cider-eldoc.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/cider-eldoc.el b/cider-eldoc.el
index bd105173..b055824d 100644
--- a/cider-eldoc.el
+++ b/cider-eldoc.el
@@ -439,19 +439,19 @@ Only useful for interop forms. Clojure forms would be returned unchanged."
(defun cider--eldoc-add-datomic-query-inputs-to-arglists (arglists)
"Add the expected inputs of the datomic query to the ARGLISTS."
(if (cider-second-sexp-in-list)
- (let* ((query (cider-second-sexp-in-list))
- (query-inputs (nrepl-dict-get
- (cider-sync-request:eldoc-datomic-query query)
- "inputs")))
- (if query-inputs
- (thread-first
- (thread-last arglists
- (car)
- (remove "&")
- (remove "inputs"))
- (append (car query-inputs))
- (list))
- arglists))
+ (let* ((query (cider-second-sexp-in-list))
+ (query-inputs (nrepl-dict-get
+ (cider-sync-request:eldoc-datomic-query query)
+ "inputs")))
+ (if query-inputs
+ (thread-first
+ (thread-last arglists
+ (car)
+ (remove "&")
+ (remove "inputs"))
+ (append (car query-inputs))
+ (list))
+ arglists))
arglists))
(defun cider-eldoc ()