[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'
'([backtab])
'([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).
- defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/10
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/10
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/11
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/11
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/11
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/11
- RE: defcustom standard value and byte-compilation, Drew Adams, 2015/03/11
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/12
- RE: defcustom standard value and byte-compilation,
Drew Adams <=
- Re: defcustom standard value and byte-compilation, Andreas Schwab, 2015/03/12
- RE: defcustom standard value and byte-compilation, Drew Adams, 2015/03/12
- Re: defcustom standard value and byte-compilation, Stefan Monnier, 2015/03/12
- Re: defcustom standard value and byte-compilation, Stephen J. Turnbull, 2015/03/12
- Re: defcustom standard value and byte-compilation, Tassilo Horn, 2015/03/12