Subject: bug#51659: 29.0.50; emoji.el: incorrect description for some emojis in emoji-list

From: Eli Zaretskii <[email-masked]>
Date: Sun, 07 Nov 2021 17:30:42 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Sun, 07 Nov 2021 16:20:17 +0100
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> It seems the correct incantation is:
> >> 
> >> (find-composition (point) (1+ (point)))
> >
> > Correct incantation for doing what?
> 
> For determining if the thing at (point) has a composition.

Then I think it's safer to narrow the buffer so it starts at point
(temporarily, for the duration of the find-composition call).  Then
your original code should work.

The way you do it the function can surprise you (because of lookback
and because LIMIT limits only where the _first_ character of the
composition may start.