[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] master 1a6a4a3: Search further if d-g-cur-status is nil (Bug#
Re: [elpa] master 1a6a4a3: Search further if d-g-cur-status is nil (Bug#35121)
Thu, 4 Apr 2019 07:06:38 -0400
On Thu, 4 Apr 2019 at 03:08, Michael Albinus <address@hidden> wrote:
> > - (let* ((status (debbugs-gnu-current-status))
> > + (let* ((status (or (debbugs-gnu-current-status)
> > + (gethash bugid debbugs-cache-data)
> > + (debbugs-get-status bugid)))
> Yesterday evening I was a little bit tired, so I didn't check precisely.
> `debbugs-get-status' consults the cache first, so there is no reason to
> call `gethash' explicitly. Furthermore, `debbugs-get-status' checks
> whether cache entries have been expired, and refuses them.
Hmm, I had somehow thought it wasn't, but it must have been me not
realizing that a bug status wasn't cached or something. And I was
missing the call to 'car' on the result of debbugs-get-status (I think
I had even noticed that while testing, but somehow I didn't fix it in
the pushed version). Anyway, should all be fixed now.
[1: 3355f3b2f]: 2019-04-04 07:01:41 -0400
Fix previous change