summaryrefslogtreecommitdiff
path: root/test/src/undo-tests.el
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-06-21 12:50:34 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-06-21 12:50:34 +0100
commit4cc6854cd4b0857e223ed6bc1b1b1a051dd83480 (patch)
tree4809d5c25c6be4ebfb78099b30d26f564bf1e7b5 /test/src/undo-tests.el
parenta1b487eac0ec10059eb2b8c5e7efc9eec1342148 (diff)
downloademacs-4cc6854cd4b0857e223ed6bc1b1b1a051dd83480.tar.gz
Silence some warnings in tests
* test/lisp/emacs-lisp/package-tests.el (package-test-suffix-matches): Evaluate lambda. (package-test-list-filter-marked): * test/lisp/vc/vc-tests.el (vc-test--run-maybe-unsupported-function): * test/src/undo-tests.el (undo-test-skip-invalidated-markers): Silence "unused local variable" warnings. * test/lisp/imenu-tests.el (imenu-simple-scan-deftest): Fix docstring. Don't shadow global major-mode.
Diffstat (limited to 'test/src/undo-tests.el')
-rw-r--r--test/src/undo-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/undo-tests.el b/test/src/undo-tests.el
index 13335a9bb10..b26a276c61b 100644
--- a/test/src/undo-tests.el
+++ b/test/src/undo-tests.el
@@ -452,7 +452,7 @@ Demonstrates bug 25599."
(insert ";; aaaaaaaaa
;; bbbbbbbb")
(let ((overlay-modified
- (lambda (ov after-p _beg _end &optional length)
+ (lambda (ov after-p _beg _end &optional _length)
(unless after-p
(when (overlay-buffer ov)
(delete-overlay ov))))))