diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/helpful-unit-test.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el index 26c5077..bdfdfc1 100644 --- a/test/helpful-unit-test.el +++ b/test/helpful-unit-test.el @@ -734,7 +734,9 @@ associated a lambda with a keybinding." (should (equal (length (helpful--keymaps-containing #'helpful--dummy-command)) - 2)) + (if (< emacs-major-version 30) + 2 + 3))) ;; Undo keybinding. (global-set-key (kbd "C-c M-S-c") nil) |
