[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/cider b4c3bdccde 2/8: Add undef-all command
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/cider b4c3bdccde 2/8: Add undef-all command |
Date: |
Sat, 30 Apr 2022 21:58:01 -0400 (EDT) |
branch: elpa/cider
commit b4c3bdccde1e5de1a8bcc8398984098233a65eda
Author: yuhan0 <qythium@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Add undef-all command
---
cider-mode.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/cider-mode.el b/cider-mode.el
index 859e064dc6..b47d8e4c49 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -171,6 +171,14 @@ the related commands `cider-repl-clear-buffer' and
"sym" ,sym)
(cider-interactive-eval-handler (current-buffer))))))
+(defun cider-undef-all (&optional ns)
+ "Undefine all symbols and aliases from the namespace NS."
+ (interactive)
+ (cider-ensure-op-supported "undef-all")
+ (cider-nrepl-send-sync-request
+ `("op" "undef-all"
+ "ns" ,(or ns (cider-current-ns)))))
+
;;; cider-run
(defvar cider--namespace-history nil
"History of user input for namespace prompts.")
- [nongnu] elpa/cider updated (9bc6a18f94 -> af1ab5677f), ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider 5bb6d98b27 1/8: Add emacs-28.1 to CI, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider af1ab5677f 8/8: Update docs for undef-all changes, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider e450d1e6e0 3/8: Add undef-all option when loading files/buffers, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider ea49f85e43 4/8: Move undef commands to cider-eval.el, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider b4c3bdccde 2/8: Add undef-all command,
ELPA Syncer <=
- [nongnu] elpa/cider 17df85a688 5/8: Add keybinding for cider-undef-all, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider 1390fcad32 6/8: Update changelog, ELPA Syncer, 2022/04/30
- [nongnu] elpa/cider e71c2aa9b8 7/8: Fix bugs in #3185, ELPA Syncer, 2022/04/30