[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10475: 24.0.92; `C-h v' displays `*' indicating user option
From: |
Lars Ingebrigtsen |
Subject: |
bug#10475: 24.0.92; `C-h v' displays `*' indicating user option |
Date: |
Thu, 28 Apr 2016 14:01:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
> (defcustom foo nil
> "*A foobar function or nil."
> :type '(choice (const :tag "None" nil) function)
> :group 'convenience)
>
> Then `C-h v foo'. The `*' indicating that this is a user variable
> (e.g. usable by `set-variable') is printed as if it were part of the
> doc. It should be removed.
I don't think so. Instead we should remove all the superfluous "*"s in
the source code. I'll submit a bug report.
> In addition, `user-variable-p' is the test used for functions such as
> `set-variable', and it`user-variable-p' recognizes the `*' as defining a
> user variable. This is correct behavior. The only problem is that
> `describe-variable' should not treat this `*' as if it were part of the
> doc text.
It no longer does that. It's now an alias for custom-variable-p.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#10475: 24.0.92; `C-h v' displays `*' indicating user option,
Lars Ingebrigtsen <=