[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-clojure 30638a0 242/313: Remove old defcustomed
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-clojure 30638a0 242/313: Remove old defcustomed |
Date: |
Wed, 11 Aug 2021 10:00:26 -0400 (EDT) |
branch: elpa/inf-clojure
commit 30638a055c51025c835cd548fa3ea15d2d2eb847
Author: dan sutton <dan@dpsutton.com>
Commit: Bozhidar Batsov <bozhidar.batsov@gmail.com>
Remove old defcustomed
defcustom `inf-clojure-custom-startup` startup string or (host . port)
---
inf-clojure.el | 35 +++++++++++------------------------
1 file changed, 11 insertions(+), 24 deletions(-)
diff --git a/inf-clojure.el b/inf-clojure.el
index 313d823..71d6355 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -345,26 +345,12 @@ number (e.g. (\"localhost\" . 5555))."
(stringp (car x))
(numberp (cdr x))))
-(defcustom inf-clojure-project-type nil
- "Defines the project type.
-
-If this is `nil`, the project will be automatically detected."
- :type 'string
- :safe #'stringp
- :package-version '(inf-clojure . "2.1.0"))
-
-(defcustom inf-clojure-generic-cmd "lein repl"
- "The command used to start a Clojure REPL outside Lein/Boot projects.
-
-Alternatively you can specify a TCP connection cons pair, instead
-of command, consisting of a host and port
-number (e.g. (\"localhost\" . 5555)). That's useful if you're
-often connecting to a remote REPL process."
- :type '(choice (string)
- (cons string integer))
- :risky #'stringp
- :safe #'inf-clojure--endpoint-p
- :package-version '(inf-clojure . "2.0.0"))
+(defcustom inf-clojure-custom-startup
+ nil
+ "Form to be used to start inf-clojure.
+Can be a cons pair of (host . port) where host is a string and
+port is an integer, or a string to startup an interpreter like
+\"planck\".")
(defun inf-clojure--whole-comment-line-p (string)
"Return non-nil iff STRING is a whole line semicolon comment."
@@ -664,10 +650,11 @@ it (default is value of `inf-clojure-*-cmd'). Runs the
hooks
from `inf-clojure-mode-hook' (after the `comint-mode-hook' is
run).
\(Type \\[describe-mode] in the process buffer for a list of commands.)"
- (interactive (list (completing-read "Clojure startup command: "
- (mapcar #'cdr inf-clojure-startup-forms)
- nil
- 'confirm-after-completion)))
+ (interactive (list (or inf-clojure-custom-startup
+ (completing-read "Clojure startup command: "
+ (mapcar #'cdr
inf-clojure-startup-forms)
+ nil
+ 'confirm-after-completion))))
(if (not (comint-check-proc "*inf-clojure*"))
;; run the new process in the project's root when in a project folder
(let ((default-directory (inf-clojure-project-root))
- [nongnu] elpa/inf-clojure 8c37fba 139/313: Mention some of the essential features in the README, (continued)
- [nongnu] elpa/inf-clojure 8c37fba 139/313: Mention some of the essential features in the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f420c8a 199/313: Add sanitation to inf-clojure-send-string, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure e68108d 213/313: Make three sections for the socket REPLs, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 1295e58 214/313: [security] Don't execute arbitrary functions (#146), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 6913798 217/313: Fix small things in README again, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f3d6a68 223/313: Add support for joker (#160), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 98db4c8 227/313: Bump the copyright years, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b29a3f1 221/313: Use CircleCI for CI testing (#159), ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 0697d6f 233/313: Add insert last sexp and keymap to hold them all, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 7a5b32f 238/313: Extend a bit the README, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 30638a0 242/313: Remove old defcustomed,
ELPA Syncer <=
- [nongnu] elpa/inf-clojure 1bac8fe 249/313: Tweak some messages, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure f1c8323 261/313: Fix some wording, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 23492b5 263/313: Trim some whitespace, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 8be9cec 269/313: Use kbd-style keybindings everywhere, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 68ab0f7 282/313: Bump the required Emacs version, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 81e0912 287/313: Tweak some features, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 675e9be 290/313: Handle newlines between forms for `inf-clojure-eval-buffer`, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure b601d48 266/313: Tweak the README a bit, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure 91145b0 293/313: Function to select repls as the current active connection, ELPA Syncer, 2021/08/11
- [nongnu] elpa/inf-clojure d79e4eb 299/313: Remove a redundant call to with-current-buffer, ELPA Syncer, 2021/08/11