]> git.eshelyaron.com Git - emacs.git/commit
Use `advice-flet' in place of `cl-letf' to avoid primitive redefinition
authorAndrea Corallo <akrl@sdf.org>
Fri, 2 Oct 2020 16:38:02 +0000 (18:38 +0200)
committerAndrea Corallo <akrl@sdf.org>
Fri, 2 Oct 2020 19:20:53 +0000 (21:20 +0200)
commit825e85b393a3d78ba43176ecc5bc1a9595d0fbea
tree0a26bf4566ec11cbdc7200dd7f0f0f60a927d7eb
parentd07d7ab1a0e321ced62ebe5dd9db27eb7e93430e
Use `advice-flet' in place of `cl-letf' to avoid primitive redefinition

* test/lisp/time-stamp-tests.el (with-time-stamp-system-name): Use
`advice-flet' to advice primitive avoiding redefinition.

* test/lisp/tempo-tests.el (tempo-p-element-test)
(tempo-P-element-test, tempo-r-element-test)
(tempo-s-element-test, tempo-r>-element-test): Likewise.

* test/lisp/subr-tests.el (subr-tests-bug22027): Likewise.

* test/lisp/shadowfile-tests.el (shadow-test00-clusters)
(shadow-test01-sites, shadow-test06-literal-groups)
(shadow-test07-regexp-groups): Likewise.

* test/lisp/replace-tests.el (replace-tests-with-undo): Likewise.

* test/lisp/play/dissociate-tests.el
(dissociate-tests-dissociated-press): Likewise.

* test/lisp/net/tramp-tests.el (tramp-test10-write-region)
(tramp-test21-file-links): Likewise.

* test/lisp/kmacro-tests.el (kmacro-tests-call-macro-hint-and-repeat)
(kmacro-tests-repeat-on-last-key)
(kmacro-tests-repeat-view-and-run)
(kmacro-tests-bind-to-key-with-key-sequence-in-use): Likewise.

* test/lisp/files-tests.el (files-tests-read-file-in-~): Likewise.

* test/lisp/emacs-lisp/rmc-tests.el (test-read-multiple-choice):
Likewise.

* test/lisp/bookmark-tests.el (bookmark-test-bmenu-locate):
Likewise.

* test/lisp/abbrev-tests.el
(inverse-add-abbrev-skips-trailing-nonword)
(inverse-add-abbrev-skips-trailing-nonword/positive-arg)
(inverse-add-abbrev-skips-trailing-nonword/negative-arg): Likewise.
12 files changed:
test/lisp/abbrev-tests.el
test/lisp/bookmark-tests.el
test/lisp/emacs-lisp/rmc-tests.el
test/lisp/files-tests.el
test/lisp/kmacro-tests.el
test/lisp/net/tramp-tests.el
test/lisp/play/dissociate-tests.el
test/lisp/replace-tests.el
test/lisp/shadowfile-tests.el
test/lisp/subr-tests.el
test/lisp/tempo-tests.el
test/lisp/time-stamp-tests.el