[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider 5f705b0a3a 02/14: Use tooling-eval in cider-repl-set
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider 5f705b0a3a 02/14: Use tooling-eval in cider-repl-set-ns |
Date: |
Fri, 29 Apr 2022 09:58:04 -0400 (EDT) |
branch: elpa/cider
commit 5f705b0a3a0266e4e64bc37016135a6284d2321f
Author: yuhan0 <qythium@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Use tooling-eval in cider-repl-set-ns
to avoid overwriting the last evaled result
---
cider-repl.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cider-repl.el b/cider-repl.el
index 496058a365..d9fcdfadeb 100644
--- a/cider-repl.el
+++ b/cider-repl.el
@@ -1229,9 +1229,9 @@ command will prompt for the name of the namespace to
switch to."
;; NOTE: `require' and `in-ns' are special forms in ClojureScript.
;; That's why we eval them separately instead of combining them with
`do'.
(when cider-repl-require-ns-on-set
- (cider-nrepl-sync-request:eval (format "(require '%s)" ns) connection))
- (cider-nrepl-request:eval (format "(in-ns '%s)" ns)
- (cider-repl-switch-ns-handler connection)))))
+ (cider-sync-tooling-eval (format "(require '%s)" ns) nil connection))
+ (cider-tooling-eval (format "(in-ns '%s)" ns)
+ (cider-repl-switch-ns-handler connection)))))
;;; Location References
- [nongnu] elpa/cider updated (1875ea35b7 -> 9bc6a18f94), ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 0cfe34164f 01/14: Fix eldoc sexp movement, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 5f705b0a3a 02/14: Use tooling-eval in cider-repl-set-ns,
ELPA Syncer <=
- [nongnu] elpa/cider 8efd6e7331 06/14: Restore tooltip functionality, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 4f82880937 08/14: Fix typo, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 524be0eb5e 12/14: Bump the development version, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider ca8ad4138a 09/14: Fix comment indentation, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 4839398482 03/14: Fix eval-to-comment at eob, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 9542769deb 04/14: Fix indentation of eval-to-comments, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 7d63e6cfae 05/14: Jump to first inspectable object, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 9cac6585f6 07/14: Inherit test-report mode from cider-popup-mode, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 95c31be81a 10/14: Restore deleted line in #3148, ELPA Syncer, 2022/04/29
- [nongnu] elpa/cider 9bc6a18f94 14/14: Update the changelog, ELPA Syncer, 2022/04/29