emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-clojure a3306c9 137/313: Further fix arglists in lumo


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure a3306c9 137/313: Further fix arglists in lumo
Date: Wed, 11 Aug 2021 10:00:02 -0400 (EDT)

branch: elpa/inf-clojure
commit a3306c9a8c855ca7f29e813f2ab394b3bf95cdd0
Author: Andrea Richiardi <a.richiardi.work@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>

    Further fix arglists in lumo
    
    It actually removes the post processing and adds a pr-str in
    `inf-clojure-arglists-form-lumo`.
---
 inf-clojure.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index e9f2734..72de350 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -680,7 +680,7 @@ If you are using REPL types, it will pickup the most 
approapriate
 (define-obsolete-variable-alias 'inf-clojure-arglist-command 
'inf-clojure-arglists-form "2.0.0")
 
 (defcustom inf-clojure-arglists-form-lumo
-  "(lumo.repl/get-arglists \"%s\")"
+  "(pr-str (lumo.repl/get-arglists \"%s\"))"
   "Lumo form to query inferior Clojure for a function's arglists."
   :type 'string
   :package-version '(inf-clojure . "2.0.0"))
@@ -958,7 +958,8 @@ See variable `inf-clojure-arglists-form'."
          (arglists-data (read arglists-result)))
     (cond
      ((null arglists-data) nil)
-     ((listp arglists-data) (string-trim (inf-clojure--single-linify 
arglists-result))))))
+     ((stringp arglists-data) arglists-data)
+     ((listp arglists-data) arglists-result))))
 
 (defun inf-clojure-show-arglists (prompt-for-symbol)
   "Show the arglists for function FN in the mini-buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]