summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-macs-tests.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-05 08:36:40 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-05 08:36:40 +0800
commit360d2d3a3328799ed8fea27bc7c13873f84b65fa (patch)
tree579a7c080390d29b1aa6f772559c0f1946228779 /test/lisp/emacs-lisp/cl-macs-tests.el
parentf851e725b35d2ebd51b829059761a232d2ca1fbb (diff)
parentb3505e31d6ce4ea7c2cf1b01b8b7357b1f527bf1 (diff)
downloademacs-360d2d3a3328799ed8fea27bc7c13873f84b65fa.tar.gz
emacs-360d2d3a3328799ed8fea27bc7c13873f84b65fa.tar.bz2
emacs-360d2d3a3328799ed8fea27bc7c13873f84b65fa.zip
Merge remote-tracking branch 'origin/master' into feature/pgtk
Diffstat (limited to 'test/lisp/emacs-lisp/cl-macs-tests.el')
-rw-r--r--test/lisp/emacs-lisp/cl-macs-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/cl-macs-tests.el b/test/lisp/emacs-lisp/cl-macs-tests.el
index be2c0fa02b4..7c3afefaadd 100644
--- a/test/lisp/emacs-lisp/cl-macs-tests.el
+++ b/test/lisp/emacs-lisp/cl-macs-tests.el
@@ -668,6 +668,10 @@ collection clause."
#'len))
(`(function (lambda (,_ ,_) . ,_)) t))))
+(with-suppressed-warnings ((lexical test) (lexical test1) (lexical test2))
+ (defvar test)
+ (defvar test1)
+ (defvar test2))
(ert-deftest cl-macs--progv ()
(should (= (cl-progv '(test test) '(1 2) test) 2))
(should (equal (cl-progv '(test1 test2) '(1 2) (list test1 test2))