Subject: Re: bug#54374: 29.0.50; previous-completion fails at beginning of completions buffer

From: Juri Linkov <[email-masked]>
Date: Mon, 14 Mar 2022 20:24:57 +0200

> I didn't notice that, because completion-auto-select was enabled on my
> end.  How about this:
>
> (Note that this also fixes the "issue" jumping back to the beginning of
> the same completion option, if the point is not at the beginning of said
> option.)

Thanks, this fixed the issue.  And I noticed another one: at the
beginning of the buffer previous-completion wraps to the end of the buffer,
not to the beginning of the last completion.

Also when point at the last completion, next-completion
jumps to the end of the buffer instead of wrapping to the
first completion.