]> git.eshelyaron.com Git - emacs.git/commitdiff
; Pacify byte-compiler warning in keymap-tests.el.
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 Jun 2022 15:26:17 +0000 (18:26 +0300)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 Jun 2022 15:26:17 +0000 (18:26 +0300)
test/src/keymap-tests.el

index eeac1dbe6d1a3f311d747541e1b8cba42d64ced1..18f292d21532b959ddd689249bd97d11131ec26a 100644 (file)
@@ -419,6 +419,8 @@ g .. h              foo
   (should-error (text-char-description ?\s-c)))
 
 (ert-deftest test-non-key-events ()
+  ;; Dummy command.
+  (declare-function keymap-tests-command nil)
   (should (null (where-is-internal 'keymap-tests-command)))
   (keymap-set global-map "C-c g" #'keymap-tests-command)
   (should (equal (where-is-internal 'keymap-tests-command) '([3 103])))