]> git.eshelyaron.com Git - emacs.git/commit
Fix elisp-tests-with-temp-buffer compilation
authorNoam Postavsky <npostavs@gmail.com>
Thu, 27 Apr 2017 21:13:33 +0000 (17:13 -0400)
committerMarcin Borkowski <mbork@mbork.pl>
Fri, 12 May 2017 09:40:48 +0000 (11:40 +0200)
commitcb8fcbc3cbd8f6cf95bb858b72188d752672cf6b
treec2c61375a210a41196fb3c1f8cb8f91f538c23da
parent0397f85c6f9b0a5325f774e2a56e7cd85176e228
Fix elisp-tests-with-temp-buffer compilation

* test/lisp/emacs-lisp/lisp-tests.el (elisp-tests-with-temp-buffer):
Don't refer to the =!NAME= as "markers" since they produce variables
with just plain positions, not marker objects.  Explicitly specify
that CONTENTS is evaluated at compile time.  Don't re-evaluate
CONTENTS at runtime.  Fix debug specification.  Suppress warnings due
to BODY not using =!NAME= variables.
(elisp-test-point-position-regex): Rename from
`elisp-test-point-marker-regex'.
(mark-defun-test-buffer): Wrap in `eval-and-compile'.
test/lisp/emacs-lisp/lisp-tests.el