emacs-devel
[Top][All Lists]
Advanced

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

Re: Property list key names


From: Johan Bockgård
Subject: Re: Property list key names
Date: Sat, 09 Aug 2008 19:33:34 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

"Lennart Borgman (gmail)" <address@hidden> writes:

> Johan Bockgård wrote:
>> "Lennart Borgman (gmail)" <address@hidden> writes:
>>
>>> If there for example is something like this
>>>
>>>  (defstruct ert-stats
>>>    (selector (assert nil)))
>>>
>>> then a defstruct selector function `ert-stats-selector' is defined. It
>>> would be nice to go to that function directly from the link in
>>> describe-function', but currently the position in the file is not
>>> found.
>>
>> Indeed, defstruct should put a `definition-name' property on the names
>> it constructs. Like
>>
>> (put 'ert-stats-selector 'definition-name 'ert-stats)
>
> Yes, something like that. Is 'definition-name special in some way or
> could/should it be something else?

Try C-h f again after adding the property above.

-- 
Johan Bockgård





reply via email to

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