]> git.eshelyaron.com Git - emacs.git/commit
Don't warn about _ not left unused in if-let and alike
authorMichael Heerdegen <michael_heerdegen@web.de>
Fri, 16 Feb 2024 21:07:18 +0000 (22:07 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:52:35 +0000 (18:52 +0100)
commit5547b8a82d37004570a1dbc24803e5f5738ba20c
tree7896df90492f7b2d43d46672566dc848e96ab4cd
parent68617df441ce388946420b192f8a754bd020ccc4
Don't warn about _ not left unused in if-let and alike

The macro expansions did not leave a variable _ unused; this triggered
an irritating compiler warning (bug#69108).

* lisp/subr.el (internal--build-binding): Handle bindings of the form
(_ EXPR) separately.

(cherry picked from commit e680827e814e155cf79175d87ff7c6ee3a08b69a)
lisp/subr.el