Skip to content

Commit 8b44606

Browse files
committed
[Docs] Suggest the use of package-vc-install for downgrading CIDER
1 parent 231f8e7 commit 8b44606

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

doc/modules/ROOT/pages/faq.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,26 @@ and reinstall it. Basically you need to do the following:
119119

120120
== Can I downgrade CIDER to a specific stable version?
121121

122-
No, you can't. Unfortunately `package.el` doesn't support the concept of historical versions of a package -
123-
there's always only one version that's available - the latest one.
122+
Emacs 29 introduced `package-vc-install` which allows you to install a package straight from
123+
a VCS repository (e.g. Git):
124+
125+
M-x package-vc-install <RET> https://github.com/clojure-emacs/cider <RET>
126+
127+
Refer to the documentation of `package-vc-install` for more details.
128+
129+
In Emacs 30 you can use `use-package` to both install the CIDER from GitHub
130+
and configure it:
131+
132+
``` emacs-lisp
133+
(use-package cider
134+
:vc (:url "https://github.com/clojure-emacs/cider" :rev "v1.15.0")
135+
)
136+
```
137+
138+
NOTE: `package.el` doesn't support the concept of historical versions of a
139+
package - there's always only one version that's available in a package
140+
repository - the latest one. That's why you'll have to resort to a VCS revision
141+
as a workaround for that limitation.
124142

125143
== Will CIDER eventually support the Clojure 1.8 socket REPL?
126144

0 commit comments

Comments
 (0)