[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57803: 28.2; decoded-time-add results in message "obsolete timestamp
From: |
Lars Ingebrigtsen |
Subject: |
bug#57803: 28.2; decoded-time-add results in message "obsolete timestamp with cdr 1" |
Date: |
Wed, 14 Sep 2022 16:46:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Gustavo Barros <gusbrs.2016@gmail.com> 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.