Silence byte-compiler in two tests

* test/lisp/electric-tests.el (electric-pair-define-test-form):
* test/src/buffer-tests.el (buffer-tests--make-test-name): Silence
byte-compiler by defining defuns also at run time.
This commit is contained in:
Stefan Kangas 2022-02-04 14:15:33 +01:00
parent 3e20a90019
commit 702a5c6feb
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@
(should (equal (point)
expected-point))))
(eval-when-compile
(eval-and-compile
(defun electric-pair-define-test-form (name fixture
char
pos

View file

@ -101,7 +101,7 @@ with parameters from the *Messages* buffer modification."
;; | Overlay test setup
;; +==========================================================================+
(eval-when-compile
(eval-and-compile
(defun buffer-tests--make-test-name (fn x y)
(intern (format "buffer-tests--%s-%s-%s" fn x y))))