* bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void
@ 2010-07-22 22:28 Drew Adams
2012-02-05 15:51 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2010-07-22 22:28 UTC (permalink / raw)
To: 6712
emacs -Q
Eval this:
(defcustom foo 'start
""
:type '(choice (const start) (const end))
:group 'foobar)
M-x customize-option foo
1. Use the Value Menu to change the value to `end'.
2. Use the State menu to `Set for current session' (value is `end').
3. Use the State menu to `Set to Backup Value' (value is `start').
4. M-x customize-rogue
This error message appears:
"Symbol's value as variable is void: start"
The problem is the call to `eval' here:
(when (and cval ;Declared with defcustom.
(default-boundp symbol) ;Has a value.
(not (equal (eval (car cval)) ; <==============
;; Which does not match customize.
(default-value symbol))))
(push (list symbol 'custom-variable) found))
The sexp that is the arg to `eval' is `(start)'.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-07-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void
2010-07-22 22:28 bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void Drew Adams
@ 2012-02-05 15:51 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2012-02-05 15:51 UTC (permalink / raw)
To: Drew Adams; +Cc: 6712
"Drew Adams" <drew.adams@oracle.com> writes:
> (defcustom foo 'start
> ""
> :type '(choice (const start) (const end))
> :group 'foobar)
>
> M-x customize-option foo
>
> 1. Use the Value Menu to change the value to `end'.
> 2. Use the State menu to `Set for current session' (value is `end').
> 3. Use the State menu to `Set to Backup Value' (value is `start').
> 4. M-x customize-rogue
>
> This error message appears:
>
> "Symbol's value as variable is void: start"
Fixed; thanks for the report.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-05 15:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 22:28 bug#6712: 24.0.50; `customize-rogue' error: Symbol's value as variable is void Drew Adams
2012-02-05 15:51 ` Chong Yidong
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).