]> git.eshelyaron.com Git - emacs.git/commit
Better compilation of arguments to `ignore`
authorMattias Engdegård <mattiase@acm.org>
Wed, 12 Apr 2023 08:17:01 +0000 (10:17 +0200)
committerMattias Engdegård <mattiase@acm.org>
Wed, 12 Apr 2023 08:47:42 +0000 (10:47 +0200)
commitea9831bb3cb4878273f6f848051c9b8c3c76d5f1
tree48db8a9d4aaa73a6779264377d14b2201769f84b
parentc146bd893dfbc8a4c92f9d1f33def8f29e7ece1f
Better compilation of arguments to `ignore`

* lisp/emacs-lisp/bytecomp.el (byte-compile-form)
(byte-compile-ignore):
Instead of compiling each `ignore` argument for value which is then
immediately discarded, compile it for effect but suppress
ignore-return-value warnings by passing the special value
`for-effect-no-warn` as for-effect parameter.
Proposed by Stefan Monnier.
lisp/emacs-lisp/bytecomp.el