[Top][All Lists]

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

RE: defcustom standard value and byte-compilation

From: Drew Adams
Subject: RE: defcustom standard value and byte-compilation
Date: Thu, 12 Mar 2015 06:29:47 -0700 (PDT)

> > are you perhaps looking for State > Show Saved Lisp Expression?
> that doesn't really show the Lisp expression which computes the
> standard value, it just shows the standard value as Lisp expression...

Right.  Actually, it shows a Lisp expression which, if evaluated,
returns the standard value.  But it does not show the actual
initial code that produced the standard value.

For example, I have this:

 (defcustom foo (if (> emacs-major-version 23) ; `S-TAB'
                  '([S-tab] [S-iso-lefttab]))

And the menu option shows this as the Lisp expression:

 '([backtab]) ; note the quote

It does not show the standard value, which is ([backtab]).

I'd be surprised if the expression that computes the
initial value is saved anywhere (besides in the source file).

reply via email to

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