[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24685: 25.1.50; nonstandard cl-defstruct in isearch.el causes edebug
From: |
Johan Bockgård |
Subject: |
bug#24685: 25.1.50; nonstandard cl-defstruct in isearch.el causes edebug instrumentation to fail |
Date: |
Wed, 19 Oct 2016 20:17:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Gemini Lasswell <gazally@runbox.com> writes:
> In the declaration of isearch--state in isearch.el, the default values
> are omitted in the list of read-only slots. This causes edebug not to be
> able to instrument the file, since the edebug specification for
> cl-defstruct does not include this possibility.
This was actually a bug in isearch. It is not valid to omit the default
value when options are specified for the slot. The format of a slot with
options in CL is:
(NAME [ DEFAULT [ OPTIONS... ]])
Fixed in master.