Subject: bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset'

From: Michael Heerdegen <[email-masked]>
Date: Tue, 05 Jun 2018 02:40:07 +0200

Noam Postavsky <[email-masked]> writes:

> Do DOCSTRING and DECL count?
>
>     (defun NAME ARGLIST &optional DOCSTRING DECL &rest BODY)
>
> Since they're obviously not evaluated, it doesn't quite feel the same.

Yes, not really.

It's not that super clear.  If we keep the current definition (though I
would rather like to see this fixed if possible), maybe consider to add
something like "If X is specified, it should be an expression that
should evaluate to a number".

Michael.