emacs-devel
[Top][All Lists]
Advanced

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

Re: C-h v fails when a symbol has variable documentation yet is unbound


From: Stefan Monnier
Subject: Re: C-h v fails when a symbol has variable documentation yet is unbound
Date: Wed, 09 Nov 2005 09:05:26 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> When a symbol has variable documentation yet is unbound, "C-h v"'s
> interactive specification prevents a user from displaying this
> documentation.  This is not nice.

To get an unbound var with doc, you either have to do

   (defvar foo nil "doc")
   (makunbound 'foo)
or
   (put 'foo 'variable-documentation "doc")

both of which are rather ugly and feel like workarounds.
So I'm not sure how important this is.


        Stefan




reply via email to

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