branch: elpa/cider
commit 3907351878ad3d1657d34291503cfda6090d66c8
Author: yuhan0 <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Revert "Inherit test-report mode from cider-popup-mode"
This reverts commit 9cac6585f6cdff10138b86148bdc6d33d2bbb433.
The change resulted in "Cyclic keymap inheritance" errors for some
users, see #3195,
---
cider-test.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cider-test.el b/cider-test.el
index 4092b2c2ac..e702498620 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -188,6 +188,7 @@ Add to this list to have CIDER recognize additional test
defining macros."
;; "run the test at point". But it's not as nice as rerunning all tests in
;; this buffer.
(define-key map "g" #'cider-test-run-test)
+ (define-key map "q" #'cider-popup-buffer-quit-function)
(easy-menu-define cider-test-report-mode-menu map
"Menu for CIDER's test result mode"
'("Test-Report"
@@ -208,7 +209,7 @@ Add to this list to have CIDER recognize additional test
defining macros."
["Display expected/actual diff" cider-test-ediff]))
map))
-(define-derived-mode cider-test-report-mode cider-popup-buffer-mode "Test
Report"
+(define-derived-mode cider-test-report-mode fundamental-mode "Test Report"
"Major mode for presenting Clojure test results.
\\{cider-test-report-mode-map}"