[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure a246bf3 083/313: Merge pull request #32 from s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure a246bf3 083/313: Merge pull request #32 from slipset/customize-vars |
Date: |
Wed, 11 Aug 2021 09:59:51 -0400 (EDT) |
branch: elpa/inf-clojure
commit a246bf3f6d286f7bcbc6dbc091e7c67876a3e8e8
Merge: aa93684 63c2f9e
Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Merge pull request #32 from slipset/customize-vars
Add possibility to customize more vars
---
inf-clojure.el | 54 ++++++++++++++++++++++++++++++++++++------------------
1 file changed, 36 insertions(+), 18 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 02787f6..7ced672 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -450,45 +450,63 @@ Used by this command to determine defaults."
;;; Command strings
;;; ===============
-(defvar inf-clojure-var-doc-command
+(defcustom inf-clojure-var-doc-command
"(clojure.repl/doc %s)\n"
- "Command to query inferior Clojure for a var's documentation.")
+ "Command to query inferior Clojure for a var's documentation."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-var-source-command
+(defcustom inf-clojure-var-source-command
"(clojure.repl/source %s)\n"
- "Command to query inferior Clojure for a var's source.")
+ "Command to query inferior Clojure for a var's source."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-arglist-command
+(defcustom inf-clojure-arglist-command
"(try
(:arglists
(clojure.core/meta
(clojure.core/resolve
(clojure.core/read-string \"%s\"))))
(catch Throwable t nil))\n"
- "Command to query inferior Clojure for a function's arglist.")
+ "Command to query inferior Clojure for a function's arglist."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-completion-command
+(defcustom inf-clojure-completion-command
"(complete.core/completions \"%s\")\n"
- "Command to query inferior Clojure for completion candidates.")
+ "Command to query inferior Clojure for completion candidates."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-ns-vars-command
+(defcustom inf-clojure-ns-vars-command
"(clojure.repl/dir %s)\n"
- "Command to show the public vars in a namespace.")
+ "Command to show the public vars in a namespace."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-set-ns-command
+(defcustom inf-clojure-set-ns-command
"(clojure.core/in-ns '%s)\n"
- "Command to set the namespace of the inferior Clojure process.")
+ "Command to set the namespace of the inferior Clojure process."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-apropos-command
+(defcustom inf-clojure-apropos-command
"(doseq [var (sort (clojure.repl/apropos \"%s\"))]
(println (str var)))\n"
- "Command to invoke apropos.")
+ "Command to invoke apropos."
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-macroexpand-command
- "(clojure.core/macroexpand '%s)\n")
+(defcustom inf-clojure-macroexpand-command
+ "(clojure.core/macroexpand '%s)\n"
+ :type 'string
+ :group 'inf-clojure)
-(defvar inf-clojure-macroexpand-1-command
- "(clojure.core/macroexpand-1 '%s)\n")
+(defcustom inf-clojure-macroexpand-1-command
+ "(clojure.core/macroexpand-1 '%s)\n"
+ :type 'string
+ :group 'inf-clojure)
;;; Ancillary functions
;;; ===================
- [nongnu] elpa/inf-clojure a69c568 061/313: Merge pull request #20 from syohex/fix-byte-compile-warning, (continued)
- [nongnu] elpa/inf-clojure a69c568 061/313: Merge pull request #20 from syohex/fix-byte-compile-warning, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 08428a4 064/313: Extend the abstract a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 701c27b 068/313: Merge pull request #22 from otijhuis/eldoc, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure dc219cd 072/313: Bump the clojure-mode dep, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f794889 073/313: Drop the mentions of Marmalade from the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 54fe6de 074/313: Update the package description, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7e86eaf 075/313: Update the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a9eb210 076/313: Release 1.4.0, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 2825eac 077/313: Bump the development version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure aa93684 081/313: Convert a comment into docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure a246bf3 083/313: Merge pull request #32 from slipset/customize-vars,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure 3e7896a 084/313: [Fix #33] Add missing docstrings, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure aa81e31 085/313: Bump the clojure-mode and Emacs dependencies, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 98b530a 088/313: Refine a docstring, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure eec15c4 086/313: Accept cons pair for tcp connections (#34), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure ee4369d 089/313: Fix typo in README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 421b265 095/313: Add a command to display the inf-clojure version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 166b077 098/313: Remove some obsolete code, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6a4329b 100/313: Font-lock code in the REPL, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d0f0ee8 103/313: Add a missing require, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1d6260a 104/313: [Fix #29] Add a command to restart a REPL, ELPA Syncer, 2021/08/11