Here is the patch for the squashed commit and updated code. Thanks for helping me out!


On Sat, Apr 20, 2024 at 1:11 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Prateek Sharma <ps.prateek.sharma143@gmail.com>
> Date: Sat, 20 Apr 2024 12:25:24 +0530
> Cc: Yuan Fu <casouri@gmail.com>, 70478@debbugs.gnu.org
>
> Also should I squash the changes of both the above commits into one and then create a patch file?

You should squash, yes.  Other than that, attaching the patches as you
did is fine.

Thanks.