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

From: Juri Linkov <[email-masked]>
Date: Sun, 04 May 2025 19:39:28 +0300

>>> +              (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

Though now it could use 'memql' introduced in Emacs 22.1:

(memql 0.2 '(0.1 0.2))
=> (0.2)