File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -929,8 +929,12 @@ the results buffer. It cuts out the output from
929929(defun inf-clojure-arglists (fn )
930930 " Send a query to the inferior Clojure for the arglists for function FN.
931931See variable `inf-clojure-arglists-form' ."
932- (let ((eldoc-snippet (format (inf-clojure-arglists-form) fn)))
933- (inf-clojure-results-from-process (inf-clojure-proc) eldoc-snippet)))
932+ (let* ((arglists-snippet (format (inf-clojure-arglists-form) fn))
933+ (arglists-result (inf-clojure-results-from-process (inf-clojure-proc) arglists-snippet))
934+ (arglists-data (read arglists-result)))
935+ (cond
936+ ((null arglists-data) nil )
937+ ((listp arglists-data) (string-trim (inf-clojure--single-linify arglists-result))))))
934938
935939(defun inf-clojure-show-arglists (prompt-for-symbol )
936940 " Show the arglists for function FN in the mini-buffer.
You can’t perform that action at this time.
0 commit comments