GNU bug report logs - #4136
23.1; delete-pair

Previous Next

Package: emacs;

Reported by: Eli Barzilay <eli <at> barzilay.org>

Date: Thu, 13 Aug 2009 06:30:04 UTC

Severity: normal

Tags: fixed, moreinfo

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #183 received at 4136 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 4136 <at> debbugs.gnu.org,
 Eli Barzilay <eli <at> barzilay.org>
Subject: Re: bug#4136: 23.1; delete-pair
Date: Mon, 16 Nov 2020 22:55:35 +0200
>> Why can't the delay be a float?
>
> My mistake was influenced by the lack of the function that
> would check for a positive number (e.g. 'positive-number-p').
> I tried to find such a function, then noticed that 'natnump'
> at least checks for a non-negative number, but I forgot that
> this applies only to integers.

The closest function that I found is:

  (cl-plusp NUMBER)
  Return t if NUMBER is positive.

but I'm not sure why it would be better than using just (> number 0).

> So below is a fixed patch:

Now pushed to master.




This bug report was last modified 4 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.