[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Supplying DOC string in a `defun' using `defvar'
From: |
Drew Adams |
Subject: |
RE: [External] : Supplying DOC string in a `defun' using `defvar' |
Date: |
Tue, 1 Jun 2021 15:01:12 +0000 |
> > (defun my-fun (x)
> > (:documentation my-doc)
> > (+ x 42))
>
> Had noticed what happened, but (:documentation my-doc) is not taking effect
> and get "function not documented".
It works for me. However, at least in Emacs 27.2,
`:documentation' is not documented in the Elisp manual,
except for use by `cl-generic'. That seems like a bug.
(But `:doc' is documented, for use by `defcustom'.
And grepping shows that there is also `:doc-spec'.)
- Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/01
- Re: Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 2021/06/01
- Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/01
- RE: [External] : Supplying DOC string in a `defun' using `defvar',
Drew Adams <=
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/01
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/01
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/01
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Eli Zaretskii, 2021/06/01
- [External] : Supplying DOC string in a `defun' using `defvar', Christopher Dimech, 2021/06/01
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Stefan Monnier, 2021/06/01
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Michael Heerdegen, 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', Jean Louis, 2021/06/03
- Re: [External] : Supplying DOC string in a `defun' using `defvar', Eduardo Ochs, 2021/06/03