]> git.eshelyaron.com Git - emacs.git/commit
Warn about unreachable code
authorEshel Yaron <me@eshelyaron.com>
Thu, 26 Sep 2024 12:03:42 +0000 (14:03 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 26 Sep 2024 12:18:37 +0000 (14:18 +0200)
commit3810901175523c6a15b83b33e2718443bb886d9f
treea080d15cc5b245739d94b88607c91af7cce6bbed
parent4aeb46354c63fd95acb266b198548e8531aa813b
Warn about unreachable code

* lisp/emacs-lisp/byte-opt.el (byte-opt--every)
(byte-opt--return-p): New functions.
(byte-optimize-body): Emit warning for unreachable code.
lisp/emacs-lisp/byte-opt.el