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

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

[nongnu] elpa/inf-clojure 7b2fcd7 184/313: Revive inf-clojure-apropos


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure 7b2fcd7 184/313: Revive inf-clojure-apropos
Date: Wed, 11 Aug 2021 10:00:13 -0400 (EDT)

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

    Revive inf-clojure-apropos
    
    The function signature was broken, also update the docstring.
---
 inf-clojure.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/inf-clojure.el b/inf-clojure.el
index 15da3bc..eca2c27 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -1228,11 +1228,12 @@ PROMPT-FOR-NS, it prompts for a namespace name."
       (user-error "No namespace selected"))
     (inf-clojure--send-string (inf-clojure-proc) (format 
(inf-clojure-set-ns-form) ns))))
 
-(defun inf-clojure-apropos ()
+(defun inf-clojure-apropos (expr)
   "Send an expression to the inferior Clojure for apropos.
-See variable `inf-clojure-apropos-form'."
+EXPR can be either a regular expression or a stringable
+thing.  See variable `inf-clojure-apropos-form'."
   (interactive (inf-clojure-symprompt "Var apropos" 
(inf-clojure-symbol-at-point)))
-  (inf-clojure--send-string (inf-clojure-proc) (format 
(inf-clojure-apropos-form) var)))
+  (inf-clojure--send-string (inf-clojure-proc) (format 
(inf-clojure-apropos-form) expr)))
 
 (defun inf-clojure-macroexpand (&optional macro-1)
   "Send a form to the inferior Clojure for macro expansion.



reply via email to

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