From: Basil L. Contovounesios Date: Sat, 18 Jun 2022 15:26:17 +0000 (+0300) Subject: ; Pacify byte-compiler warning in keymap-tests.el. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~1636 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=233b3dc7e167298611d96af923abb8009f587179;p=emacs.git ; Pacify byte-compiler warning in keymap-tests.el. --- diff --git a/test/src/keymap-tests.el b/test/src/keymap-tests.el index eeac1dbe6d1..18f292d2153 100644 --- a/test/src/keymap-tests.el +++ b/test/src/keymap-tests.el @@ -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])))