From: carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 56483@debbugs.gnu.org
Subject: bug#56483: Request to append string to the documentation of a function
Date: Sun, 10 Jul 2022 17:20:30 +0200 (CEST) [thread overview]
Message-ID: <N6cge5n--3-2@tutanota.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
Currently I am appending a string `str` to the documentation of a function `myfun` using
(put myfun 'function-documentation
(concat
(documentation myfun t)
str)
Whilst the strategy works, this requires adding `str` after the function `myfun` has been defined.
Does there exist the possibility to add `str` directly inside the docstring of the function when I am
defining the function itself, avoiding the `(put` command mentioned earlier after the implementation
of the function myfun?
[-- Attachment #2: Type: text/html, Size: 1044 bytes --]
next reply other threads:[~2022-07-10 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-10 15:20 carlmarcos--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-07-11 10:05 ` bug#56483: Request to append string to the documentation of a function Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=N6cge5n--3-2@tutanota.com \
--to=bug-gnu-emacs@gnu.org \
--cc=56483@debbugs.gnu.org \
--cc=carlmarcos@tutanota.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).