Skip to content

Commit 9cac658

Browse files
yuhan0bbatsov
authored andcommitted
Inherit test-report mode from cider-popup-mode
Remove the "q" keybinding which is already defined in cider-popup-mode-map
1 parent 8efd6e7 commit 9cac658

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cider-test.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ Add to this list to have CIDER recognize additional test defining macros."
188188
;; "run the test at point". But it's not as nice as rerunning all tests in
189189
;; this buffer.
190190
(define-key map "g" #'cider-test-run-test)
191-
(define-key map "q" #'cider-popup-buffer-quit-function)
192191
(easy-menu-define cider-test-report-mode-menu map
193192
"Menu for CIDER's test result mode"
194193
'("Test-Report"
@@ -209,7 +208,7 @@ Add to this list to have CIDER recognize additional test defining macros."
209208
["Display expected/actual diff" cider-test-ediff]))
210209
map))
211210

212-
(define-derived-mode cider-test-report-mode fundamental-mode "Test Report"
211+
(define-derived-mode cider-test-report-mode cider-popup-buffer-mode "Test Report"
213212
"Major mode for presenting Clojure test results.
214213
215214
\\{cider-test-report-mode-map}"

0 commit comments

Comments
 (0)