From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>, Christopher Dimech <dimech@gmx.com>
Cc: "48779@debbugs.gnu.org" <48779@debbugs.gnu.org>
Subject: bug#48779: [External] : bug#48779: (:documentation mydoc) not working
Date: Tue, 1 Jun 2021 15:47:07 +0000 [thread overview]
Message-ID: <SA2PR10MB44749C55D1F371C1B2B29431F33E9@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87wnrdbnwc.fsf@gnus.org>
> This undocumented feature only works in lexical-binding buffers.
My questions here would be:
1. Why is it undocumented?
2. Why does it work only for lexical-binding buffers?
___
:documentation is documented in the Elisp manual,
but only for `cl-defgeneric'.
(Grepping the Lisp source code shows there are :doc,
:doc-spec, and :documentation. :doc is documented
in the Elisp manual, in the context of defcustom.
:doc-spec seems to be documented in no manual.)
We don't document everything, of course. But should
:documentation be documented for defun, as well as
for cl-defgeneric?
Yes, the latter is an emulation of Common Lisp's
`defgeneric', which has :documentation. But defun
also has it now, apparently.
next prev parent reply other threads:[~2021-06-01 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-01 15:23 bug#48779: (:documentation mydoc) not working Christopher Dimech
2021-06-01 15:33 ` Lars Ingebrigtsen
2021-06-01 15:47 ` Drew Adams [this message]
2021-06-01 21:13 ` Christopher Dimech
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA2PR10MB44749C55D1F371C1B2B29431F33E9@SA2PR10MB4474.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=48779@debbugs.gnu.org \
--cc=dimech@gmx.com \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.