Skip to content

Commit

Permalink
[Fix #2026] Mark many custom variables related to cider-jack-in as sa…
Browse files Browse the repository at this point in the history
…fe (#2027)
  • Loading branch information
SevereOverfl0w authored and bbatsov committed Jul 5, 2017
1 parent b4a3d24 commit 4a7b5ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* [#1945](https://github.com/clojure-emacs/cider/pull/1945): Start nREPL servers bound to `::` by default using `cider-jack-in`.
* Renamed `cider-prompt-save-file-on-load` to `cider-save-file-on-load` and adjust its supported values accordingly (the default now is `'prompt` and `'always-save` is now simply `t`).
* [#2014](https://github.com/clojure-emacs/cider/pull/2014): Unify the format for `forms-str` and `arglists-str`.
* [#2027](https://github.com/clojure-emacs/cider/pull/2027): Mark many custom variables relating to `cider-jack-in` as safe.

### Bugs Fixed

Expand Down
14 changes: 12 additions & 2 deletions cider.el
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,15 @@ version from the CIDER package or library.")
nil
"Command global options used to execute Leiningen (e.g.: -o for offline)."
:type 'string
:group 'cider)
:group 'cider
:safe #'stringp)

(defcustom cider-lein-parameters
"repl :headless :host ::"
"Params passed to Leiningen to start an nREPL server via `cider-jack-in'."
:type 'string
:group 'cider)
:group 'cider
:safe #'stringp)

(defcustom cider-boot-command
"boot"
Expand All @@ -128,13 +130,15 @@ version from the CIDER package or library.")
"Command global options used to execute Boot (e.g.: -c for checkouts)."
:type 'string
:group 'cider
:safe #'stringp
:package-version '(cider . "0.14.0"))

(defcustom cider-boot-parameters
"repl -s -H :: wait"
"Params passed to boot to start an nREPL server via `cider-jack-in'."
:type 'string
:group 'cider
:safe #'stringp
:package-version '(cider . "0.9.0"))

(defcustom cider-gradle-command
Expand All @@ -149,13 +153,15 @@ version from the CIDER package or library.")
"Command line options used to execute Gradle (e.g.: -m for dry run)."
:type 'string
:group 'cider
:safe #'stringp
:package-version '(cider . "0.14.0"))

(defcustom cider-gradle-parameters
"clojureRepl"
"Params passed to gradle to start an nREPL server via `cider-jack-in'."
:type 'string
:group 'cider
:safe #'stringp
:package-version '(cider . "0.10.0"))

(defcustom cider-default-repl-command
Expand All @@ -165,6 +171,7 @@ This value will only be consulted when no identifying file types, i.e.
project.clj for leiningen or build.boot for boot, could be found."
:type 'string
:group 'cider
:safe #'stringp
:package-version '(cider . "0.9.0"))

(defcustom cider-preferred-build-tool
Expand All @@ -181,6 +188,7 @@ command when there is no ambiguity."
(const "gradle")
(const :tag "Always ask" nil))
:group 'cider
:safe #'stringp
:package-version '(cider . "0.13.0"))

(defcustom cider-allow-jack-in-without-project 'warn
Expand All @@ -192,6 +200,7 @@ When set to nil `cider-jack-in' will fail."
(const 'warn)
(const :tag "never" nil))
:group 'cider
:safe #'stringp
:package-version '(cider . "0.15.0"))

(defcustom cider-known-endpoints nil
Expand Down Expand Up @@ -224,6 +233,7 @@ This variable is used by `cider-connect'."
(defcustom cider-inject-dependencies-at-jack-in t
"When nil, do not inject repl dependencies (most likely nREPL middlewares) at `cider-jack-in' time."
:type 'boolean
:safe #'stringp
:version '(cider . "0.11.0"))

(defcustom cider-offer-to-open-cljs-app-in-browser t
Expand Down

0 comments on commit 4a7b5ff

Please sign in to comment.