emacs-devel
[Top][All Lists]
Advanced

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

Re: byte compiling defcustom


From: Stefan Monnier
Subject: Re: byte compiling defcustom
Date: Sat, 17 Nov 2007 23:32:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> (defcustom stupid (if t (+ 1 1)) "Silly doc.")

> Then do:

> (get 'stupid 'standard-value)

> Which should return:

> ((if t (+ 1 1)))

I don't think it's a relevant example.  Because both (if t (+ 1 1)) and
2 are not only equivalent but they are just as readable.

But indeed (defcustom foo3 (if toto (trul (fr t))) "haha")
turns the expression
into "(byte-code "\205 \301\302\303!!\207" [toto trul fr t] 3)"
which is a lot more problematic.  So clearly, this patch cannot be
installed as is.


        Stefan




reply via email to

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