]> git.eshelyaron.com Git - emacs.git/commit
Fix `lsh` warning shortcomings (bug#56641)
authorMattias Engdegård <mattiase@acm.org>
Sat, 23 Jul 2022 16:42:11 +0000 (18:42 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 23 Jul 2022 16:42:11 +0000 (18:42 +0200)
commit96926fa6eb0f71f47586d50ac5532b57bff1ab54
tree4f277a5e35b9c941b32d75b028e0900d31bbb214
parent26f4bcc6d7cd541fab981836ee0b67259280ff4b
Fix `lsh` warning shortcomings (bug#56641)

Reported by Basil Contovounesios.

* etc/NEWS: Mention how to suppress the warning.
* lisp/emacs-lisp/byte-run.el (with-suppressed-warnings): Amend doc string.
* lisp/subr.el: Use `macroexp-warn-and-return` to delay the warning
until codegen time (which makes it suppressible) and to prevent
repeated warnings.
* test/lisp/international/ccl-tests.el (shift):
* test/src/data-tests.el (data-tests-ash-lsh):
Suppress warning in tests of `lsh` itself.
etc/NEWS
lisp/emacs-lisp/byte-run.el
lisp/subr.el
test/lisp/international/ccl-tests.el
test/src/data-tests.el