[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on
bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation
Fri, 09 May 2014 03:49:41 -0700
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux)
Brainglitch. Please ignore.
Compiler is not supposed to eval defcustom forms. I just had a macro
later in the file that forced evaluation of that symbol.
>>> Vitalie Spinu on Fri, 09 May 2014 02:13:56 -0700 wrote:
> Put the following into a new file and M-x byte-compile-file:
> (require 'eieio)
> (defclass A (eieio-instance-inheritor)
> :initform 23
> :type number)))
> (defcustom test1 (A "aaa")
> Then check test1, it is not defined. As if that defcustom is invisible
> to byte-compiler. Same issue in 24.3.1.
> I cannot push my package to MELPA because of this. Would really
> appreciate some quick workaround.