bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the


From: Michael Heerdegen
Subject: bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the byte-compiled form
Date: Fri, 13 May 2016 17:31:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

Sho Takemori <stakemorii@gmail.com> writes:

> eieio-core.el
> (progn
> (require 'cl-lib)
> ;; Arrange for field access not to bother checking if the access is indeed
> ;; made to an eieio--class object.
> (cl-declaim (optimize (safety 0)))
> [...]

> ;; Set it back to the default value.
> (cl-declaim (optimize (safety 1))))

Thanks for investigating.

Looks like loading "eieio-core" can permanently change the value of
`byte-compile-delete-errors'.

And at least, the last declaim form should be

    (cl-declaim (optimize (safety 3)))
                                  ^
to have the desired effect of setting `byte-compile-delete-errors' to
nil.

Can someone with knowledge of eieio please care about this?


Thanks,

Michael. 





reply via email to

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