[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31715: cl-incf and cl-decf error out when passed a nil-valued variab
From: |
Clément Pit-Claudel |
Subject: |
bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset' |
Date: |
Tue, 5 Jun 2018 11:19:22 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 2018-06-04 20:12, Noam Postavsky wrote:
> I couldn't find any other cases of optional parameters in core macros.
I'm not sure which macros count as core macros. In cl-lib itself there's
cl-assert, which seems to behave the same as cl-incf.
In the rest of Emacs there are lots of other examples. Many of them (for
example semantic-find-tags-by-name or calendar-increment-month) seem to work
when passed a nil-valued variable, but many others behave like cl-incf (for
example gnus-summary-article-score).
Clément.
signature.asc
Description: OpenPGP digital signature
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Clément Pit-Claudel, 2018/06/04
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Noam Postavsky, 2018/06/04
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Michael Heerdegen, 2018/06/04
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Noam Postavsky, 2018/06/04
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Michael Heerdegen, 2018/06/04
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset',
Clément Pit-Claudel <=
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Noam Postavsky, 2018/06/05
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Clément Pit-Claudel, 2018/06/05
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Noam Postavsky, 2018/06/05
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Clément Pit-Claudel, 2018/06/05
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Michael Heerdegen, 2018/06/05
- bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Noam Postavsky, 2018/06/05
bug#31715: cl-incf and cl-decf error out when passed a nil-valued variable as 'offset', Clément Pit-Claudel, 2018/06/05