emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] [minimap] Fix minimap-kill when there is no timer object


From: Lars Ingebrigtsen
Subject: Re: [PATCH] [minimap] Fix minimap-kill when there is no timer object
Date: Sun, 13 Sep 2020 16:13:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Adam Spiers <emacs@adamspiers.org> writes:

> Occasionally minimap-timer-object can be nil when minimap-killer
> is triggered.  In this case, the following error is triggered:
>
>     cancel-timer: Wrong type argument: timerp, nil
>
> So defensively check whether there is a timer to cancel before trying
> to cancel it.

Thanks; applied to the minimap package.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]