From: pjb@informatimago.com (Pascal J. Bourguignon)
To: help-gnu-emacs@gnu.org
Subject: Re: variable's documentation string
Date: Mon, 29 Jun 2009 11:24:07 +0200 [thread overview]
Message-ID: <7cws6vjsug.fsf@pbourguignon.anevia.com> (raw)
In-Reply-To: 2c6889fe-6935-41d6-8a8e-2b6a07761cd7@j19g2000vbp.googlegroups.com
TheFlyingDutchman <zzbbaadd@aol.com> writes:
> That should be
> (defvar myVar 2 "This is the documentation string") ; typo in the
> post only
Here, it works well:
(defvar myVar 2 "This is the documentation string") ; C-x C-e
(documentation-property 'myVar 'variable-documentation) ; C-x C-e
--> "This is the documentation string"
Have you evaluated the defvar form?
Was the documentation string present in the first occurence of defvar
for that variable?
(defvar a)
(defvar a "Documentation of A")
(documentation-property 'a 'variable-documentation)
--> nil
(setf (documentation-property 'a 'variable-documentation)
"New documentation of A")
(documentation-property 'a 'variable-documentation)
--> "New documentation of A"
--
__Pascal Bourguignon__
next prev parent reply other threads:[~2009-06-29 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 7:24 variable's documentation string TheFlyingDutchman
2009-06-29 7:25 ` TheFlyingDutchman
2009-06-29 9:24 ` Pascal J. Bourguignon [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7cws6vjsug.fsf@pbourguignon.anevia.com \
--to=pjb@informatimago.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.