mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Silence byte-compiler in some tests
* test/lisp/dired-tests.el: * test/lisp/emacs-lisp/cl-macs-tests.el: * test/lisp/emacs-lisp/derived-tests.el: * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: * test/lisp/emacs-lisp/generator-tests.el: * test/lisp/emacs-lisp/lisp-tests.el: * test/lisp/emacs-lisp/seq-tests.el (test-seq-let) (test-seq-setq): * test/lisp/emacs-lisp/subr-x-tests.el (subr-x-test-if-let*-false) (subr-x-test-if-let*-and-laziness-is-preserved) (subr-x-test-when-let*-false) (subr-x-test-when-let*-and-laziness-is-preserved): * test/lisp/emacs-lisp/timer-tests.el (timer-tests-debug-timer-check): * test/lisp/format-spec-tests.el (format-spec-do-flags-truncate) (format-spec-do-flags-pad): * test/lisp/ls-lisp-tests.el (ls-lisp-test-bug27762): * test/lisp/obsolete/cl-tests.el (labels-function-quoting): * test/lisp/progmodes/elisp-mode-tests.el: * test/lisp/replace-tests.el (replace-regexp-bug45973): * test/lisp/ses-tests.el: * test/lisp/subr-tests.el: * test/lisp/tar-mode-tests.el (tar-mode-test-tar-grind-file-mode): * test/src/data-tests.el (data-tests--set-default-per-buffer): * test/src/search-tests.el (test-replace-match-modification-hooks): Silence byte-compiler.
This commit is contained in:
parent
aa6681a51a
commit
7c68c84674
19 changed files with 152 additions and 101 deletions
|
|
@ -24,13 +24,13 @@
|
|||
(define-derived-mode derived-tests--parent-mode prog-mode "P"
|
||||
:after-hook
|
||||
(let ((f (let ((x "S")) (lambda () x))))
|
||||
(insert (format "AFP=%s " (let ((x "D")) (funcall f)))))
|
||||
(insert (format "AFP=%s " (let ((x "D")) x (funcall f)))))
|
||||
(insert "PB "))
|
||||
|
||||
(define-derived-mode derived-tests--child-mode derived-tests--parent-mode "C"
|
||||
:after-hook
|
||||
(let ((f (let ((x "S")) (lambda () x))))
|
||||
(insert (format "AFC=%s " (let ((x "D")) (funcall f)))))
|
||||
(insert (format "AFC=%s " (let ((x "D")) x (funcall f)))))
|
||||
(insert "CB "))
|
||||
|
||||
(ert-deftest derived-tests-after-hook-lexical ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue