[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9712: 24.0.50; doc about byte-compiling `defcustom'
From: |
Stefan Monnier |
Subject: |
bug#9712: 24.0.50; doc about byte-compiling `defcustom' |
Date: |
Mon, 10 Oct 2011 22:17:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
retitle 9712 defcustom's initial value expression is not byte-compiled
thanks
> This is what the byte-compiled file shows:
> #@14 jjjjjjjjjjjj
> (custom-declare-variable 'titi '(eval-when-compile
> `(,(kbd "S-<tab>"))) '(#$ . 509) :type '(repeat sexp) :group 'edit)
> #@12 kkkkkkkkkk
> (defvar toto '([S-tab]) (#$ . 647))
> Here's the bug (a doc bug), as I see it: Where in the doc is this
> behavior described? Where does it say that the STANDARD arg to
> defcustom is not evaluated by the byte compiler, even when you use
> `eval-when-compile'?
The bug is not in the doc but in the behavior.
Stefan