Subject: Re: bug#71896: shell-resync-dirs hang

From: Eli Zaretskii <[email-masked]>
Date: Mon, 08 Jul 2024 20:42:11 +0300

> Date: Mon, 8 Jul 2024 12:04:07 -0500
> From: Troy Hinckley <[email-masked]>
> Cc: [email-masked]
> 
> The proposed patch throws an error when `last’ is “” because (substring “” -1) produces (args-out-of-range “” -
> 1 nil).

Is that the only problem with the patch?  That is, if this is
trivially fixed, does all the rest work correctly and fixes the
problems?