Subject: bug#57803: 28.2; decoded-time-add results in message "obsolete timestamp with cdr 1"

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 14 Sep 2022 16:46:50 +0200

Gustavo Barros <[email-masked]> writes:

> Evaluating this, we get the message:
>
>    obsolete timestamp with cdr 1 [2 times]

I can reproduce this in emacs-28.2, but not in Emacs 29, so I think this
has been fixed for the next release.

> A little side report of what is likely just a typo in the manual.  The
> following example in the same section of the manual for the
> `decode-time' function:
>
>    (setf (decoded-time-year decoded-time)
> 	  (+ (decoded-time-year decoded-time) 4))
>
> results in:
>
>    let*: Symbol’s value as variable is void: decoded-time

Well, you have to set the variable `decoded-time' to something first.