emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/cider 3907351878 2/2: Revert "Inherit test-report mode fro


From: ELPA Syncer
Subject: [nongnu] elpa/cider 3907351878 2/2: Revert "Inherit test-report mode from cider-popup-mode"
Date: Sat, 7 May 2022 09:58:01 -0400 (EDT)

branch: elpa/cider
commit 3907351878ad3d1657d34291503cfda6090d66c8
Author: yuhan0 <qythium@gmail.com>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    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}"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]