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

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

[External] : Supplying DOC string in a `defun' using `defvar'


From: ludvig-faddeev
Subject: [External] : Supplying DOC string in a `defun' using `defvar'
Date: Tue, 1 Jun 2021 03:49:51 +0200

Is it possible to define a function that sets a documentation string and
then calls

(put 'wyfunc
     'function-documentation 'mydetail)




> Sent: Tuesday, June 01, 2021 at 1:08 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: [External] : Supplying DOC string in a `defun' using `defvar'
>
> ludvig-faddeev@gmx.com writes:
>
> > I would be interested to study an example on how to append to the
> > docstring.
>
> This makes only sense if the resulting docstring is dynamically created.
> Else you could just provide the complete string at once.
>
> If you want to study such an example then the documentation of `pcase'
> in the Emacs sources is a good one.
>
> Michael.
>
>
>



reply via email to

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