bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9711: 24.0.50; doc string of defcustom


From: Drew Adams
Subject: bug#9711: 24.0.50; doc string of defcustom
Date: Sun, 9 Oct 2011 13:16:25 -0700

In addition, this seems wrong:

"Neither SYMBOL nor VALUE need to be quoted."

Huh?  VALUE is evaluated.  What is meant by this statement?

Evaluate this, and you get a `void-variable' error for `jjjjjj'.

(defcustom foo jjjjjj "kkkkkkk" :type sexp)

That doc-string statement is bogus, AFAICT.

The Elisp manual is OK: it says "you should not quote OPTION" (which corresponds
to SYMBOL in the doc string), and it says "Evaluating the `defcustom' form
evaluates STANDARD" (which corresponds to VALUE in the doc string).

Aside from making the grammar INcorrect (it was correct before) by changing
"needs" to "need", the bogus statement "Neither SYMBOL nor VALUE need to be
quoted." is unchanged from Emacs 20.






reply via email to

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