[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Supplying DOC string in a `defun' using `defvar'
From: |
Stefan Monnier |
Subject: |
Re: [External] : Supplying DOC string in a `defun' using `defvar' |
Date: |
Thu, 03 Jun 2021 11:10:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Lars mentioned that although using :documentation works, "(:documentation
> <foo>)" is
> a non-standard way of setting things up in contrast to something like
> "(declare (documentation ...))"
>
> What do you think?
Most uses of this `:documentation` feature are for dynamically created
functions, and those typically don't use `defun` but something like
`defalias+lambda`. `declare`, OTOH is a property of `defun` and isn't
supported inside `lambda`, so it's not clear how that could be made
to work.
Stefan
- Re: [External] : Supplying DOC string in a `defun' using `defvar', (continued)
- RE: [External] : Supplying DOC string in a `defun' using `defvar', Drew Adams, 2021/06/02
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/02
- RE: [External] : Supplying DOC string in a `defun' using `defvar', Drew Adams, 2021/06/02
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/02
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/02
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/02
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/03
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar',
Stefan Monnier <=
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/03
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Eli Zaretskii, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Lars Ingebrigtsen, 2021/06/03
- RE: [External] : Supplying DOC string in a `defun' using `defvar', Drew Adams, 2021/06/01
Re: Supplying DOC string in a `defun' using `defvar', Jean Louis, 2021/06/01
Re: Supplying DOC string in a `defun' using `defvar', Nick Dokos, 2021/06/01