diff options
Diffstat (limited to 'test/lisp/button-tests.el')
-rw-r--r-- | test/lisp/button-tests.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/lisp/button-tests.el b/test/lisp/button-tests.el index 2f5ad795df2..a88387e0259 100644 --- a/test/lisp/button-tests.el +++ b/test/lisp/button-tests.el @@ -21,11 +21,9 @@ (require 'ert) -(defvar button-tests--map - (let ((map (make-sparse-keymap))) - (define-key map "x" #'ignore) - map) - "Keymap for testing command substitution.") +(defvar-keymap button-tests--map + :doc "Keymap for testing command substitution." + "x" #'ignore) (ert-deftest button-at () "Test `button-at' behavior." |