emacs-devel
[Top][All Lists]
Advanced

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

Re: byte compiling defcustom


From: Luc Teirlinck
Subject: Re: byte compiling defcustom
Date: Sat, 17 Nov 2007 22:13:21 -0600 (CST)

>From my previous message:

   On second thought, I now believe that I misunderstood and that it
   should _not_ represent a problem, as long as the uncompiled value is
   stored in the `standard-value' property.

But then again, I assume that byte-compiling the defcustom could store
byte code in that property.  Anyway, easy enough to check for anybody
having the patch already installed:

Load the compiled version of:

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

Then do:

(get 'stupid 'standard-value)

Which should return:

((if t (+ 1 1)))

Sincerely,

Luc.







reply via email to

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