branch: elpa/cider
commit 9cac6585f6cdff10138b86148bdc6d33d2bbb433
Author: yuhan0 <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Inherit test-report mode from cider-popup-mode
    
    Remove the "q" keybinding which is already defined in
    cider-popup-mode-map
---
 cider-test.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cider-test.el b/cider-test.el
index e702498620..4092b2c2ac 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -188,7 +188,6 @@ 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"
@@ -209,7 +208,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 fundamental-mode "Test Report"
+(define-derived-mode cider-test-report-mode cider-popup-buffer-mode "Test 
Report"
   "Major mode for presenting Clojure test results.
 
 \\{cider-test-report-mode-map}"

Reply via email to