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

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

variable's documentation string


From: TheFlyingDutchman
Subject: variable's documentation string
Date: Mon, 29 Jun 2009 00:24:24 -0700 (PDT)
User-agent: G2/1.0

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?


reply via email to

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