[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63818: 27.1; unbound local variables break python-util-clone-local-v
From: |
Eli Zaretskii |
Subject: |
bug#63818: 27.1; unbound local variables break python-util-clone-local-variables |
Date: |
Sat, 03 Jun 2023 10:21:03 +0300 |
> Cc: 63818@debbugs.gnu.org
> Date: Thu, 01 Jun 2023 09:06:45 -0400
> From: Stefan Monnier via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> > 5205c5205,5206
> > < (and (symbolp (car pair))
> > ---
> >> (and (listp pair)
> >> (symbolp (car pair))
>
> Good catch, thanks. We usually prefer `consp` over `listp` since
> there's no reason to accept `nil` here (tho it would be filtered out
> later anyway), but other than that it'd exactly the patch I'd use.
Thanks, installed (with that change) on the emacs-29 branch, and
closing the bug.