Subject: bug#78205: [PATCH] Recenter for the calendar

From: Manuel Giraud <[email-masked]>
Date: Sun, 04 May 2025 19:19:54 +0200

Juri Linkov <[email-masked]> writes:

>>>> +              (car (or (cdr (member calendar-recenter-last-op positions))
>>>
>>> This `member' could be `memq' I think.
>>
>> Thanks.  I have copy this part from 'recenter-top-bottom'.
>
> Because the value of 'recenter-top-bottom' can be a float number:
>
> (member 0.2 '(0.1 0.2))
> => (0.2)
>
> (memq 0.2 '(0.1 0.2))
> => nil

Thanks Juri, I'll try to remember this next time.  FWIW, I have used
memq here as suggested by Michael.
-- 
Manuel Giraud