unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* variable's documentation string
@ 2009-06-29  7:24 TheFlyingDutchman
  2009-06-29  7:25 ` TheFlyingDutchman
  0 siblings, 1 reply; 10+ messages in thread
From: TheFlyingDutchman @ 2009-06-29  7:24 UTC (permalink / raw)
  To: help-gnu-emacs

If I declare a variable:
(defvar myVar 2 "This is the documentation string)

According to the way I read the GNU Emacs Lisp Reference manual I
should be able to retrieve this string with:

(message "the docstring for %s is %s" 'myVar (documentation-property
'myVar 'variable-documentation))

but the output is

the docstring for myVar is nil


Does anyone know what I am missing or doing wrong?


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-06-30 21:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29  7:24 variable's documentation string TheFlyingDutchman
2009-06-29  7:25 ` TheFlyingDutchman
2009-06-29  9:24   ` Pascal J. Bourguignon
2009-06-29 22:47     ` TheFlyingDutchman
2009-06-30  6:22       ` Kevin Rodgers
2009-06-30  8:47       ` Pascal J. Bourguignon
2009-06-30 20:33         ` TheFlyingDutchman
2009-06-30 21:37           ` Pascal J. Bourguignon
     [not found]       ` <mailman.1557.1246352126.2239.help-gnu-emacs@gnu.org>
2009-06-30 20:30         ` TheFlyingDutchman
2009-06-30 20:44           ` Pascal J. Bourguignon

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).